Changeset 1085


Ignore:
Timestamp:
11/16/2007 10:14:01 AM (8 years ago)
Author:
martinkou
Message:

Fixed #205 : Removed bogus BR removal logic from FCKXHtml._AppendChildNodes() since it duplicates the function of FCKDomTools.TrimNode().

File:
1 edited

Legend:

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

    r1063 r1085  
    198198                                return FCKXHtml._AppendNode( xmlNode, FCK.GetRealElement( htmlNode ) ) ;
    199199
    200                         // Ignore bogus BR nodes in the DOM.
    201                         if ( FCKBrowserInfo.IsGecko &&
    202                                         ( htmlNode.hasAttribute('_moz_editor_bogus_node') || htmlNode.getAttribute( 'type' ) == '_moz' ) )
    203                                 return false ;
    204 
    205200                        // This is for elements that are instrumental to FCKeditor and
    206201                        // must be removed from the final HTML.
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy