Ticket #2168: 2168_2.patch

File 2168_2.patch, 1.1 KB (added by alfonsoml, 22 months ago)

updated patch

  • _whatsnew.html

     
    8484                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2162">#2162</a>] If the configuration is set 
    8585                        to work including the &lt;head&gt; (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> 
    8991                Version 2.6</h3> 
  • editor/_source/internals/fck.js

     
    198198                                        // Ignore space only or empty text. 
    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 
    203210                        if ( bMoveNode )