Script tags are removed by WordPress (insta, scribd…)
-
EmbedPress uses script tags in some embeds:
- fite
- sutori
- issuu
- scribd
The script tags are automatically removed on saved by WordPress. It looks ok when inserted the first time in the gutemberg editor, but the page on the front is broken.
I did tests only with instagram but the behaviour was to have the phrase:
Instagram will load in the frontend.
When looking at the code the script tag: <script async src=”//www.instagram.com/embed.js”></script> was removed.
Note that using a shortcode with the instagram url works as expected.
It would be great to update the plugin, so that the content inserted is a shortcode or to find a way to circumvent that issue.
Thanks
- You must be logged in to reply to this topic.