After upgrade to Magento ee 1.13 javascript breaks on single quote translations
-
16-10-2019 - |
Question
I have recently upgraded an environment from a french customer form ee1.11 to ee1.13.
I am getting javascript errors allover for strings with single quotes, Alltough this was fixed a few versions ago the problem now turned up again.
While waiting for a response from Magento i would like to ask if anyone had any experience with this / has a possible temporary solution.
Example error below:
SyntaxError: missing ) after argument list
'Qu'est-ce que c'est ?',
Solution
This was confirmed as a corebug, Magento gave the patch and as stated they fixed escaping the js. You can just contact Magento for the patch.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange