#2155: Nested OL/UL doesn't get fixed on output
-----------------------+----------------------------------------------------
 Reporter:  fredck     |       Owner:     
     Type:  Bug        |      Status:  new
 Priority:  Normal     |   Milestone:     
Component:  General    |     Version:     
 Keywords:  Confirmed  |  
-----------------------+----------------------------------------------------
 It may happen that pasting operations inject nested <ol> and <ul>
 elements. The editor should fix it on output.

 '''Steps to reproduce'''

 1. Paste the following in the Source view:

 {{{
 <ol>
     <ol>
         <li>Test</li>
     </ol>
 </ol>
 }}}

 2. Switch to WYSIWYG view.
 3. Switch back to Source view.

 The source remains untouched, but the following is expected instead:

 {{{
 <ol>
     <li>&nbsp;
         <ol>
             <li>Test</li>
         </ol>
     </li>
 </ol>
 }}}

 Note that the &nbsp; is needed to properly expand the empty <li> bullet or
 number for editing.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2155>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to