[wp-trac] [WordPress Trac] #18312: Bug when using WordPress should correct invalidly nested XHTML automatically with lists
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 2 23:49:46 UTC 2011
#18312: Bug when using WordPress should correct invalidly nested XHTML
automatically with lists
--------------------------+------------------------------
Reporter: racqnhack | Owner: racqnhack
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 3.2.1
Severity: critical | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Changes (by kurtpayne):
* cc: kurtpayne (added)
* keywords: needs-patch => has-patch
Comment:
I can confirm the problem as well. I did some extra testing on this and
found the problem with other nested types like dictionary lists, too. I
have rewritten the force_balance_tags function to loop through nested tags
differently to avoid this problem. I also added the ability to skip
balancing tags inside certain tags (like script and style) where it may be
problematic.
Thoughts?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18312#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list