Ticket #114: ticket-114.patch

File ticket-114.patch, 623 bytes (added by joelwreed@…, 9 years ago)

patch

  • editor/_source/internals/fckxhtml.js

    diff -up -ur /home/jreed/tmp/fck/2.4/fckeditor/editor/_source/internals/fckxhtml.js editor/_source/internals/fckxhtml.js
    old new FCKXHtml._AppendChildNodes = function( x 
    146146        {
    147147                if ( isBlockElement && FCKConfig.FillEmptyBlocks )
    148148                {
    149                         this._AppendEntity( xmlNode, 'nbsp' ) ;
     149                        var fill = (FCKConfig.ProcessHTMLEntities)? 'nbsp' : '#160';
     150                        this._AppendEntity( xmlNode, fill ) ;
    150151                        return xmlNode ;
    151152                }
    152153               
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy