In unsafe wikitext output, character filtering may be too aggressive
I cannot add a twitter widget with this code:
<a class="twitter-timeline" href="https://twitter.com/search?q=%40splashcon" data-widget-id="481777140698869760">Tweets about "@splashcon"</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
gets rendered as:
Submitted by Elmer van Chastelet on 25 June 2014 at 14:38<a class="twitter-timeline" href="https://twitter.com/search?q=%40splashcon" data-widget-id="481777140698869760">Tweets about “@splashcon”</a><br/><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?‘http’:‘https’;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+“://platform.twitter.com/widgets.js”;fjs.parentNode.insertBefore(js,fjs);}}(document,“script”,“twitter-wjs”);</script>
Log in to post comments