~cytrogen/masto-fe

892b3c16f5a38405646db3176a83c7af5d9f92f8 — Claire 2 years ago e2ab9d4
[Glitch] Allow scripts in post embed previews

Port 711a03766032a94e0b409f8a545770bc90c14f61 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
1 files changed, 1 insertions(+), 1 deletions(-)

M app/javascript/flavours/glitch/features/ui/components/embed_modal.jsx
M app/javascript/flavours/glitch/features/ui/components/embed_modal.jsx => app/javascript/flavours/glitch/features/ui/components/embed_modal.jsx +1 -1
@@ 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>