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 8e16abc commit 84ab701Copy full SHA for 84ab701
lib/web/mage/adminhtml/wysiwyg/tiny_mce/tinymce4Adapter.js
@@ -645,9 +645,9 @@ define([
645
646
// process tag attributes string
647
attributesString = attributesString.gsub(/([a-z0-9\-\_]+)="(.*?)(\{\{.+?\}\})(.*?)"/i, function (m) {
648
- decodedDirectiveString = encodeURIComponent(Base64.mageEncode(m[3].replace(/"/g, '"')));
+ decodedDirectiveString = encodeURIComponent(Base64.mageEncode(m[3].replace(/"/g, '"') + m[4]));
649
650
- return m[1] + '="' + m[2] + this.makeDirectiveUrl(decodedDirectiveString) + m[4] + '"';
+ return m[1] + '="' + m[2] + this.makeDirectiveUrl(decodedDirectiveString) + '"';
651
}.bind(this));
652
653
return '<' + match[1] + attributesString + '>';
0 commit comments