Skip to content

Commit c35e873

Browse files
committed
Merge remote-tracking branch 'magento-l3/ACP2E-17' into L3_PR_21-12-10
2 parents 661f39a + 964b55e commit c35e873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/adminhtml/wysiwyg/tiny_mce/plugins/magentowidget/editor_plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ define([
142142
* @return {*}
143143
*/
144144
encodeWidgets: function (content) {
145-
return content.gsub(/\{\{widget(.*?)\}\}/i, function (match) {
145+
return content.gsub(/\{\{widget([\S\s]*?)\}\}/i, function (match) {
146146
var attributes = wysiwyg.parseAttributesString(match[1]),
147147
imageSrc,
148148
imageHtml = '';

0 commit comments

Comments
 (0)