• Resolved mynameiseric

    (@mynameiseric)


    Hello. I’m getting an invalid HTML error message with the widget embed on http://www.idahoednews.org. The opening container div has a close tag. Below is the HTML block from viewing source code:

    <li id=”opinionstage_widget-2″ class=”widget opinionstage_widget”><div id=”container_3404671″/>
    <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/containers/3404671/embed.js’;
    (document.getElementsByTagName(‘head’)[0] ||
    document.getElementsByTagName(‘body’)[0]).appendChild(opst);
    }());
    </script>

    https://wordpress.org/plugins/social-polls-by-opinionstage/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author yoffegil

    (@yoffegil)

    Hi, when looking at the link you provided i couldn’t see any issue. Can you please send us more details – where do you see the error? what it the exact error message you see? What browser are you using?

    Thanks

    Thread Starter mynameiseric

    (@mynameiseric)

    I’m using Google Chrome 49.0.2623.87 on OS X El Capitan, but the browser is self-correcting the HTML markup. If you run the following HTML validator for idahoednews.org you should see the error message: https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.idahoednews.org%2F

    ERROR #4
    Error: Unclosed element div.
    From line 617, column 67; to line 617, column 95
    e_widget”><div id=”container_3404671″/>↩<scri

    We’re trying to eliminate as many accessibility and HTML markup errors as possible on this site. Hence, the nitpicking. Thanks for your help.

    Plugin Author yoffegil

    (@yoffegil)

    Hi,
    Thank you for the detailed explanation, we’ve fixed the issue.
    You can see your updated report here:
    https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.idahoednews.org%2F

    Best,
    Gil.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTML error in widget’ is closed to new replies.