#2168: Comments shouldn't create new blocks
--------------------------------+-------------------------------------------
 Reporter:  alfonsoml           |       Owner:  alfonsoml    
     Type:  Bug                 |      Status:  new          
 Priority:  Normal              |   Milestone:               
Component:  Core : Output Data  |     Version:  FCKeditor 2.5
 Keywords:                      |  
--------------------------------+-------------------------------------------
 When the body is fixed to make sure that everything is properly nested,
 the comment nodes should be treated specially so they don't generate a new
 block.

 given this input:
 {{{
 This is <!-- some comment --> some <strong>sample text</strong>. You are
 using <a href="http://www.fckeditor.net/";>FCKeditor</a>.
 }}}

 with enter mode set to P, if you switch to design and back to source the
 output is
 {{{
 <p>This is</p>
 <!-- some comment -->
 <p>some <strong>sample text</strong>. You are using <a
 href="http://www.fckeditor.net/";>FCKeditor</a>.</p>
 }}}
 the paragraph has been broken

 it should have been left as
 {{{
 <p>This is <!-- some comment --> some <strong>sample text</strong>. You
 are using <a href="http://www.fckeditor.net/";>FCKeditor</a>.</p>
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2168>
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