Skip to content

Commit e6779d4

Browse files
ENGCOM-3582: Fix for incorrectly escapeHtml'd JSON in commit b8f78cc #19422
- Merge Pull Request #19422 from getjohn/magento2:2.2-cms-upload-fix - Merged commits: 1. 5357558 2. 05d5e20
2 parents 653d533 + 05d5e20 commit e6779d4

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Cms/view/adminhtml/templates/browser/content

1 file changed

+1
-1
lines changed

app/code/Magento/Cms/view/adminhtml/templates/browser/content/uploader.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ require([
108108
fileTypes: /^image\/(gif|jpeg|png)$/,
109109
maxFileSize: <?= (int) $block->getFileSizeService()->getMaxFileSize() ?> * 10
110110
},
111-
<?= $block->escapeHtml($resizeConfig) ?>,
111+
<?= /* @noEscape */ $resizeConfig ?>,
112112
{
113113
action: 'save'
114114
}]

0 commit comments

Comments
 (0)