mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-19 21:33:21 +00:00
Allow scripts in post embed previews (#25071)
This commit is contained in:
parent
785e650ab4
commit
711a037660
|
@ -85,7 +85,7 @@ class EmbedModal extends ImmutablePureComponent {
|
||||||
className='embed-modal__iframe'
|
className='embed-modal__iframe'
|
||||||
frameBorder='0'
|
frameBorder='0'
|
||||||
ref={this.setIframeRef}
|
ref={this.setIframeRef}
|
||||||
sandbox='allow-same-origin'
|
sandbox='allow-scripts allow-same-origin'
|
||||||
title='preview'
|
title='preview'
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue