Skip to content

Commit a045ebe

Browse files
MAGETWO-98765: Apply HTML5 Attributes to Newsletter Preview
1 parent e29f4c5 commit a045ebe

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@
1515
</div>
1616
<?php endif;?>
1717
</div>
18-
<iframe name="preview_iframe" id="preview_iframe" frameborder="0" title="<?php /* @escapeNotVerified */ echo __('Preview') ?>" width="100%"></iframe>
18+
<iframe name="preview_iframe"
19+
id="preview_iframe"
20+
frameborder="0"
21+
title="<?php /* @escapeNotVerified */ echo __('Preview') ?>"
22+
width="100%"
23+
sandbox="allow-forms allow-pointer-lock allow-scripts">
24+
</iframe>
1925
<?php echo $block->getChildHtml('preview_form'); ?>
2026
</div>
2127

0 commit comments

Comments
 (0)