Skip to content

Commit b5ae0b8

Browse files
committed
MAGETWO-92169: Apply HTML5 Attributes to Newsletter Privew
1 parent 6b109f4 commit b5ae0b8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

app/code/Magento/Newsletter/view/adminhtml/templates/preview/iframeswitcher.phtml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,14 @@
1616
</div>
1717
<?php endif;?>
1818
</div>
19-
<iframe name="preview_iframe" id="preview_iframe" frameborder="0" title="<?= $block->escapeHtmlAttr(__('Preview')) ?>" width="100%"></iframe>
19+
<iframe
20+
name="preview_iframe"
21+
id="preview_iframe"
22+
frameborder="0"
23+
title="<?= $block->escapeHtmlAttr(__('Preview')) ?>"
24+
width="100%"
25+
sandbox="allow-forms allow-pointer-lock allow-scripts">
26+
</iframe>
2027
<?= $block->getChildHtml('preview_form') ?>
2128
</div>
2229

0 commit comments

Comments
 (0)