Skip to content

Commit d98c1d3

Browse files
authored
Merge pull request #1295 from magento-east/MAGETWO-68810
[east] MAGETWO-68810: [Backport] - Special Characters like % in widget inside of WYSIWYG gives an error - for 2.1
2 parents 658e754 + 9afbf84 commit d98c1d3

File tree

1 file changed

+0
-1
lines changed
  • lib/web/mage/adminhtml/wysiwyg/tiny_mce

1 file changed

+0
-1
lines changed

lib/web/mage/adminhtml/wysiwyg/tiny_mce/setup.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ define([
347347
// escape special chars in directives url to use it in regular expression
348348
var url = this.makeDirectiveUrl('%directive%').replace(/([$^.?*!+:=()\[\]{}|\\])/g, '\\$1');
349349
var reg = new RegExp(url.replace('%directive%', '([a-zA-Z0-9,_-]+)'));
350-
content = decodeURIComponent(content);
351350

352351
return content.gsub(reg, function(match) {
353352
return Base64.mageDecode(match[1]);

0 commit comments

Comments
 (0)