[wp-trac] [WordPress Trac] #19632: It's impossible to use list indentation in WordPress

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 21 14:35:05 UTC 2011


#19632: It's impossible to use list indentation in WordPress
--------------------------+------------------------------
 Reporter:  szotsaki      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Changes (by knutsp):

 * cc: knut@… (added)


Comment:

 In Settings - Writing there is an option to correct invalidly nested
 markup in XHTML. I can verify the problem as long as this option is on. No
 problem when this option is turned off.

 I have learned that (jn XHTML) all list elements should be li elements,
 including nested lists itself. TinyMCE makes the nested list a just an ul
 element, missing the surrounding li. WordPress seems to detect illegal
 nesting and tries to correct it. The result is a broken nested list.

 I tried creating a correctly nested list in the HTML editor, with the
 "correct invalidly nested XHTML automatically" option on. No problem.

 I suggest changing the ticket description to address either TinyMCE
 producing invalid nested list markup or the "correct invalidly nested
 XHTML automatically" function.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19632#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list