Skip to content

Commit 3b7aa10

Browse files
committed
Do not escape JSON
1 parent 92ed603 commit 3b7aa10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

view/adminhtml/templates/form/field_type/entity_select.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ $valueCode = $entitySelect->getValueCode();
4545
@keyup.esc="closeWrapper"
4646
data-value-code="<?= $escaper->escapeHtml($valueCode) ?>"
4747
>
48-
<script x-ref="initialData" type="text/x-loki-init"><?= $escaper->escapeHtml($entitySelect->getJsonData()) ?></script>
48+
<script x-ref="initialData" type="text/x-loki-init"><?= /* @noEscape */ $entitySelect->getJsonData() ?></script>
4949

5050
<div class="input-with-button">
5151
<input

0 commit comments

Comments
 (0)