[BUG] - Script bleeds through onto homepage

DarkUFO

Member
As you can see from the attached screenshot, our poll code is displaying on the article list. All script code should be hidden.

This is the code that is contained within the post

Code:
<script>
  (function () {
    var opst = document.createElement('script');
    var os_host = document.location.protocol == "https:" ? "https:" : "http:";
    opst.type = 'text/javascript';
    opst.async = true;
    opst.src = os_host + '//' + 'www.opinionstage.com/polls/2266099/embed.js';
    (document.getElementsByTagName('head')[0] ||
      document.getElementsByTagName('body')[0]).appendChild(opst);
  }());
</script>


Screenshot_2015-04-20-10-30-17.png Screenshot_2015-04-20-10-30-17.png
 
Top