Support » Plugin: Instant Articles for WP » Using this with poll plugin

  • I am using the Poll, Survey, Quiz & Form by OpinionStage to insert poll into post content. But debug shows these error:

    No rules defined for <script> in the context of Paragraph
    No rules defined for <div class=”os_poll”> in the context of InstantArticle

    And the corresponding html is:

      (function(d, s, id){
        var js,
            fjs = d.getElementsByTagName(s)[0],
            p = (('https:' == d.location.protocol) ? 'https://' : 'http://'),
            r = Math.floor(new Date().getTime() / 1000000);
        if (d.getElementById(id)) {return;}
        js = d.createElement(s); = id; js.async=1;
        js.src = p + "" + r;
        fjs.parentNode.insertBefore(js, fjs);
      }(document, 'script', 'os-widget-jssdk'));
    <div class="os_poll" data-path="/polls/2373900" data-width="500"></div>

    How do I adding the custom rule for this?

  • The topic ‘Using this with poll plugin’ is closed to new replies.