Skip to content

Commit 3dcf911

Browse files
author
ogorkun
committed
MC-34385: Filter fields allowing HTML
1 parent 9b09423 commit 3dcf911

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/Cms/Model/Wysiwyg/Validator.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ public function validate(string $content): void
7272
throw $exception;
7373
} else {
7474
$this->messages->addWarningMessage(
75-
__('Temporarily allowed to save restricted HTML value. %1', $exception->getMessage())
75+
__(
76+
'Temporarily allowed to save HTML value that contains restricted elements. %1',
77+
$exception->getMessage()
78+
)
7679
);
7780
}
7881
} catch (\Throwable $exception) {

0 commit comments

Comments
 (0)