WordPress.org

Ready to get started?Download WordPress

Forums

extra `</p>` inside blockquote (3 posts)

  1. tinfoilsoldier
    Member
    Posted 7 years ago #

    Hello
    Every since I upgraded to WP 2.1, my posts are not valid XHTML Transitional unless I manually edit the code to fix it.

    If I blockquote something from a website, WP puts a </p> right before the </blockquote>, but there is no <p> it is not valid.

    The only way I can see to fix it is for every single post I make to disable the visual editor for my user, put a <p>, save and continue editing, then wp will put a </p> immediately after the <p>. I can now delete both of them and my page is valid again

    If I have the visual editor enabled, it is the default so when I save and continue editing the visual editor renders the page first and clicking on "code" makes the paragraph tags hidden again.

    This is rather annoying, and I like to keep my page as valid code, as I am sure others do as well.

  2. dwzemens
    Member
    Posted 7 years ago #

    I too am looking for help with this problem and am bumping this question to the top as a result.

  3. tinfoilsoldier
    Member
    Posted 7 years ago #

    btw 2.1.2 did not fix this bug

Topic Closed

This topic has been closed to new replies.

About this Topic