Allow scripts in post embed previews (#25071)

local
Claire 1 year ago committed by GitHub
parent 785e650ab4
commit 711a037660
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/javascript/mastodon/features/ui/components/embed_modal.jsx

@ -85,7 +85,7 @@ class EmbedModal extends ImmutablePureComponent {
className='embed-modal__iframe'
frameBorder='0'
ref={this.setIframeRef}
sandbox='allow-same-origin'
sandbox='allow-scripts allow-same-origin'
title='preview'
/>
</div>

Loading…
Cancel
Save