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 fed3996 commit d6299beCopy full SHA for d6299be
app/code/Magento/PageBuilder/Model/Stage/HtmlFilter.php
@@ -52,7 +52,7 @@ public function filterHtml(string $content): string
52
// Remove all <script /> tags, on* attributes from output
53
/** @var \DOMElement $item */
54
foreach (iterator_to_array($dom->getElementsByTagName('*')) as $item) {
55
- if (in_array($item->tagName, ['script', 'meta', 'iframe', 'embed', 'object'])) {
+ if (in_array($item->tagName, ['script', 'meta', 'embed', 'object'])) {
56
$item->parentNode->removeChild($item);
57
} else {
58
foreach (iterator_to_array($item->attributes) as $attribute) {
0 commit comments