Skip to content

Commit 99d4d8f

Browse files
[5.x] Fix declarative shadow root elements inside nocache tags (#12929)
1 parent e5f720e commit 99d4d8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/StaticCaching/Cachers/FileCacher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ function createMap() {
267267
268268
const regions = data.regions;
269269
for (var key in regions) {
270-
if (map[key]) map[key].outerHTML = regions[key];
270+
if (map[key]) map[key].setHTMLUnsafe(regions[key]);
271271
}
272272
273273
for (const input of document.querySelectorAll('input[value="$csrfPlaceholder"]')) {

0 commit comments

Comments
 (0)