Skip to content

Commit 71d5002

Browse files
committed
#32996 - mark json as noEscape
1 parent f3fd93e commit 71d5002

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Customer/view/frontend/templates/form/register.phtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,9 @@ script;
357357
"regionInputId": "#region",
358358
"postcodeId": "#zip",
359359
"form": "#form-validate",
360-
"regionJson": <?= $regionJson ?>,
361-
"defaultRegion": <?= $regionId ?>,
362-
"countriesWithOptionalZip": <?= $countriesWithOptionalZip ?>
360+
"regionJson": <?= /* @noEscape */ $regionJson ?>,
361+
"defaultRegion": <?= /* @noEscape */ $regionId ?>,
362+
"countriesWithOptionalZip": <?= /* @noEscape */ $countriesWithOptionalZip ?>
363363
}
364364
}
365365
}

0 commit comments

Comments
 (0)