Changeset 167

Show
Ignore:
Timestamp:
2007-02-27 12:32:42 (3 years ago)
Author:
fredck
Message:

Fixed #114: The correct entity is now used to fill empty blocks when ProcessHTMLEntities is disabled.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

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

    r146 r167  
    2929{ 
    3030        FCKXHtmlEntities.Initialize() ; 
     31         
     32        // Set the correct entity to use for empty blocks. 
     33        this._NbspEntity = ( FCKConfig.ProcessHTMLEntities? 'nbsp' : '#160' ) ; 
    3134 
    3235        // Save the current IsDirty state. The XHTML processor may change the 
     
    142145                if ( isBlockElement && FCKConfig.FillEmptyBlocks ) 
    143146                { 
    144                         this._AppendEntity( xmlNode, 'nbsp' ) ; 
     147                        this._AppendEntity( xmlNode, this._NbspEntity ) ; 
    145148                        return xmlNode ; 
    146149                } 
  • FCKeditor/trunk/_whatsnew.html

    r166 r167  
    7474                                href="https://sourceforge.net/tracker/?func=detail&aid=1659270&group_id=75348&atid=543653">SF 
    7575                                BUG-1659270</a>] ForcePasteAsPlainText didn't work in Firefox.</li> 
     76                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/114">#114</a>]The correct 
     77                        entity is now used to fill empty blocks when ProcessHTMLEntities is disabled.</li> 
    7678        </ul> 
    7779        <h3>