[wp-trac] [WordPress Trac] #17721: TinyMCE adds <div> after using <ul><li>

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 7 17:48:59 UTC 2011


#17721: TinyMCE adds <div> after using <ul><li>
--------------------------+-----------------------------
 Reporter:  hebbet        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  3.2
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 Repro:

 create a new post/page

 insert a text

 create a new unsorted list with at least one item

 press enter twice (removes you from list)

 enter text.

 switch to html mode.

 you will get something like:

 {{{

 text
 <ul>
         <li>list 1</li>
         <li>list 2</li>
 </ul>
 <div>text</div>
 }}}


 Tested with latest stable Chrome (12 since today), Firefox 4.0.1 running
 ubuntu 11.04 and latest wordpress nightly.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17721>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list