We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16efc2a commit ebfcbcfCopy full SHA for ebfcbcf
app/code/Magento/Translation/view/base/templates/translate.phtml
@@ -28,7 +28,7 @@
28
29
<?php $version = $block->getTranslationFileVersion(); ?>
30
31
- if (versionObj.version !== '<?= $block->escapeJsQuote($version) ?>') {
+ if (versionObj.version !== '<?= $block->escapeJs($version) ?>') {
32
dependencies.push(
33
'text!<?= /* @noEscape */ Magento\Translation\Model\Js\Config::DICTIONARY_FILE_NAME ?>'
34
);
@@ -44,7 +44,7 @@
44
$.localStorage.set(
45
'mage-translation-file-version',
46
{
47
- version: '<?= $block->escapeJsQuote($version) ?>'
+ version: '<?= $block->escapeJs($version) ?>'
48
}
49
50
} else {
0 commit comments