Support » Plugin: Post By Email » script tags being stripped

  • 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="">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.async=true;d.src=("https:"===document.location.protocol?"https":"http")+"://";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.

  • The topic ‘script tags being stripped’ is closed to new replies.