Skip to content

Commit cf209d9

Browse files
authored
HOTFIX: escaper block string escaping behavior does not auto-escape raw strings (#478)
* escaper block not behaving correctly * uneeded file
1 parent 9264d4b commit cf209d9

File tree

1 file changed

+1
-1
lines changed
  • app/code/Meta/BusinessExtension/view/adminhtml/templates

1 file changed

+1
-1
lines changed

app/code/Meta/BusinessExtension/view/adminhtml/templates/setup.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
appId: '<?= $escaper->escapeHtml($block->getAppId()) ?>',
1414
businessName: 'Magento',
1515
businessVertical: 'ECOMMERCE',
16-
channel: <?=$block->isCommerceExtensionEnabled() ? 'COMMERCE' : 'COMMERCE_OFFSITE'?>,
16+
channel: <?=$block->isCommerceExtensionEnabled() ? "'COMMERCE'" : "'COMMERCE_OFFSITE'"?>,
1717
cleanConfigCacheUrl: '<?= $escaper->escapeHtml($block->getCleanCacheAjaxRoute()) ?>',
1818
currency: '<?= $escaper->escapeHtml($block->getCurrencyCode()) ?>',
1919
customApiKey: '<?= $escaper->escapeHtml($block->getCustomApiKey()) ?>',

0 commit comments

Comments
 (0)