WordPress.org

Ready to get started?Download WordPress

Forums

Post By Email
script tags being stripped (1 post)

  1. stevevape
    Member
    Posted 11 months ago #

    I've been testing the plugin. I have one issue with it. I'm trying to paste an embed code into my post, but it seems that the script tags are being pulled out. here's an example of the code:

    <a class="embedly-card" href="http://wordpress.org/support/plugin/post-by-email">WordPress › Support " Post By Email</a>
    <script>(function(a){var b="embedly-platform",c="script";if(!a.getElementById(b)){var d=a.createElement(c);d.id=b;d.async=true;d.src=("https:"===document.location.protocol?"https":"http")+"://cdn.embedly.com/widgets/platform.js";var e=document.getElementsByTagName(c)[0];e.parentNode.insertBefore(d,e)}})(document);</script>

    When the post makes it over to my site everything is in there but the script tags which of course renders the post a mess of code.

    https://wordpress.org/plugins/post-by-email/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.