Skip to content

Commit 6c7d1b8

Browse files
committed
Do not escape Unicode and slashes while building the x-ref script-block
1 parent dd28523 commit 6c7d1b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Observer/AddHtmlAttributesToComponentBlock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,6 @@ private function getJsData(ComponentInterface $component): string
119119
$componentData['ajax'] = true;
120120
}
121121

122-
return json_encode($componentData);
122+
return json_encode($componentData, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
123123
}
124124
}

0 commit comments

Comments
 (0)