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.
- The topic ‘extra `</p>` inside blockquote’ is closed to new replies.