Support » Plugin: Quick Adsense » Possible Bug

  • First let me say that I think your plugin is great. I did find what I think is a bug today, though.

    When I manually position the ads, using <!–Ads1–> for example, the paragraph after the manual insertion code gets its beginning <p> tag stripped out.

    The pages where ads are being automatically inserted according to the rules defined in the admin console are working fine. But every one of my pages that uses manual ad positioning has HTML validation errors with missing <p> tags, and every missing <p> tag corresponds to a paragraph after manual ad positioning code was used.

    Thanks in advance for your assistance with this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Manual ads insertion should not affect the <p>. The plugin only replace the tag with the ads code. Would you mind show me the html extract, where it contents validation error?

    You can check out my home page at The ads on this page are manually placed. notice that each paragraph after the manually placed ad code does not have a beginning <p> tag.

    Then go look at one of my articles, like This page has the ads automatically placed and the <p> tags are fine.

    Thanks for taking a look.

    I see … ok try place the tag with one blank row before the paragraph, as follow:

    Your Paragraph here ...

    That is not something I want to do because WordPress then inserts extra paragraph tags and my content doesn’t look right. The only way the layout is right is if the tag and the content are on the same line.

    Another work around is to manually place the <p></p> in your 1st paragraph. Anyway, will look into this bugs, likely it’s due to the way WordPress generate html tags.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Possible Bug’ is closed to new replies.