Skip to content

Commit 670b781

Browse files
authored
Merge pull request #46 from nahtnam/fix-popups-for-html
fix(template): update template.pug to allow popups in the html version
2 parents e31cb77 + e913394 commit 670b781

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template.pug

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ html
115115
input(type='radio', name='preview_email', checked)#tab-html
116116
label(for='tab-html') HTML
117117
.preview-email-tab
118-
iframe(sandbox='', referrerpolicy='no-referrer', seamless='seamless', srcdoc=`<base target='_top'>${html}`)#html
118+
iframe(sandbox='allow-popups', referrerpolicy='no-referrer', seamless='seamless', srcdoc=`<base target='_top'>${html}`)#html
119119
if text
120120
input(type='radio', name='preview_email', checked=!html)#tab-text
121121
label(for='tab-text') Plain text

0 commit comments

Comments
 (0)