Skip to content

Commit abe9790

Browse files
committed
Remove 'noEscape' as it's escaped now.
1 parent 53a6f93 commit abe9790

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Integration/view/adminhtml/templates/resourcetree.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<label class="label"><span><?= $block->escapeHtml(__('Resources')) ?></span></label>
3939

4040
<div class="control">
41-
<div class="tree x-tree" data-role="resource-tree" data-mage-init='<?= /* @noEscape */
41+
<div class="tree x-tree" data-role="resource-tree" data-mage-init='<?=
4242
$block->escapeHtmlAttr($block->getJsonSerializer()->serialize([
4343
'rolesTree' => [
4444
"treeInitData" => $block->getTree(),

app/code/Magento/User/view/adminhtml/templates/role/edit.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<label class="label"><span><?= $block->escapeHtml(__('Resources')) ?></span></label>
3939

4040
<div class="control">
41-
<div class="tree x-tree" data-role="resource-tree" data-mage-init='<?= /* @noEscape */
41+
<div class="tree x-tree" data-role="resource-tree" data-mage-init='<?=
4242
$block->escapeHtmlAttr($block->getJsonSerializer()->serialize([
4343
'rolesTree' => [
4444
"treeInitData" => $block->getTree(),

0 commit comments

Comments
 (0)