[wp-trac] [WordPress Trac] #10346: WordPress creates invalid XHTML
in some scenarios when a DIV is used
WordPress Trac
wp-trac at lists.automattic.com
Sun Jul 5 20:27:28 UTC 2009
#10346: WordPress creates invalid XHTML in some scenarios when a DIV is used
--------------------------+-------------------------------------------------
Reporter: duanestorey | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version:
Severity: normal | Keywords: bug, xhtml, validation
--------------------------+-------------------------------------------------
If you insert a DIV into the post, WordPress sometimes seems to insert an
extra closing P tag, which causes XHTML validation to fail. The test
content I used was:
<div id="test">
This is some test content.
This is some other content.
</div>
And the extra closing P comes after the first sentence.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10346>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list