Skip to content

Commit d6299be

Browse files
committed
MC-15970: Page Builder Dynamic Block
1 parent fed3996 commit d6299be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageBuilder/Model/Stage/HtmlFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function filterHtml(string $content): string
5252
// Remove all <script /> tags, on* attributes from output
5353
/** @var \DOMElement $item */
5454
foreach (iterator_to_array($dom->getElementsByTagName('*')) as $item) {
55-
if (in_array($item->tagName, ['script', 'meta', 'iframe', 'embed', 'object'])) {
55+
if (in_array($item->tagName, ['script', 'meta', 'embed', 'object'])) {
5656
$item->parentNode->removeChild($item);
5757
} else {
5858
foreach (iterator_to_array($item->attributes) as $attribute) {

0 commit comments

Comments
 (0)