[wp-trac] [WordPress Trac] #29643: Ordered List Problem When Switiching between Visual Editor and HTML editor

WordPress Trac noreply at wordpress.org
Wed Dec 24 11:48:12 UTC 2014


#29643: Ordered List Problem When Switiching between Visual Editor and HTML editor
--------------------------+------------------------------
 Reporter:  pavankumarp   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  4.0
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by marcochiesi):

 I noticed the same problem when using comments inside lists.
 Example:

 {{{
 <ol>
 <li>Ordered list item 1</li>
 <li>Ordered list item 2</li>
 <li>Ordered list item 3</li>
 <!-- This is a comment -->
 </ol>
 }}}

 becomes

 {{{
 <ol>
 <ol>
         <li>Ordered list item 1</li>
         <li>Ordered list item 2</li>
         <li>Ordered list item 3</li>
 </ol>
 </ol>
 <!-- This is a comment -->
 }}}

 The comment gets moved and the ol/ul tag is duplicated. So this is
 definitely a bug.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29643#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list