Skip to content

Commit cbf98de

Browse files
committed
MC-36777: Incorrect conversion plane text to HTML
1 parent 9bc9bd7 commit cbf98de

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Email/view/adminhtml/templates/template

1 file changed

+1
-1
lines changed

app/code/Magento/Email/view/adminhtml/templates/template/edit.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ require([
135135
content: "{$block->escapeJs(__('Are you sure you want to strip tags?'))}",
136136
actions: {
137137
confirm: function () {
138-
this.unconvertedText = $('template_text').value;
138+
self.unconvertedText = $('template_text').value;
139139
$('convert_button').hide();
140140
$('template_text').value = $('template_text').value.stripScripts().replace(
141141
new RegExp('<style[^>]*>[\\S\\s]*?</style>', 'img'), ''

0 commit comments

Comments
 (0)