Changeset 1984

Show
Ignore:
Timestamp:
2008-05-10 19:05:18 (5 months ago)
Author:
alfonsoml
Message:

Fix for #2168, don't create new blocks for comment nodes.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/internals/fck.js

    r1964 r1984  
    199199                                        if ( oNewBlock || oNode.nodeValue.Trim().length > 0 ) 
    200200                                                bMoveNode = true ; 
     201                                        break; 
     202 
     203                                // Comment Node 
     204                                case 8 : 
     205                                        if ( oNewBlock ) 
     206                                                bMoveNode = true ; 
     207                                        break; 
    201208                        } 
    202209 
  • FCKeditor/trunk/_whatsnew.html

    r1983 r1984  
    8585                        to work including the <head> (FullPage), references to stylesheets added by Firefox extensions 
    8686                        won't be added to the output.</li> 
     87                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2168">#2168</a>] Comments won't generate new 
     88                        paragraphs in the output.</li> 
    8789        </ul> 
    8890        <h3>