Ticket #114: ticket-114.patch

File ticket-114.patch, 0.6 KB (added by joelwreed@…, 3 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  
    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