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.
2 parents 27d2bab + 895dd5c commit 16f4653Copy full SHA for 16f4653
lib/web/mage/adminhtml/wysiwyg/tiny_mce/tinymce4Adapter.js
@@ -654,9 +654,9 @@ define([
654
655
// process tag attributes string
656
attributesString = attributesString.gsub(/([a-z0-9\-\_]+)="(.*?)(\{\{.+?\}\})(.*?)"/i, function (m) {
657
- decodedDirectiveString = encodeURIComponent(Base64.mageEncode(m[3].replace(/"/g, '"')));
+ decodedDirectiveString = encodeURIComponent(Base64.mageEncode(m[3].replace(/"/g, '"') + m[4]));
658
659
- return m[1] + '="' + m[2] + this.makeDirectiveUrl(decodedDirectiveString) + m[4] + '"';
+ return m[1] + '="' + m[2] + this.makeDirectiveUrl(decodedDirectiveString) + '"';
660
}.bind(this));
661
662
return '<' + match[1] + attributesString + '>';
0 commit comments