Changeset 168
- Timestamp:
- 2007-02-28 16:53:21 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fckxhtml.js
r167 r168 125 125 { 126 126 // Trim block elements. This is also needed to avoid Firefox leaving extra 127 // BRs at the end of them (check made inside _AppendNode).127 // BRs at the end of them. 128 128 if ( isBlockElement ) 129 FCKDomTools.TrimNode( htmlNode ) ;129 FCKDomTools.TrimNode( htmlNode, true ) ; 130 130 131 131 var iCount = 0 ; … … 209 209 return false ; 210 210 211 // Remove the <br> if it is a bogus node or is the last child.212 if ( sNodeName == 'br' && ( htmlNode.getAttribute( 'type', 2 ) == '_moz' || !htmlNode.nextSibling ))211 // Remove the <br> if it is a bogus node. 212 if ( sNodeName == 'br' && htmlNode.getAttribute( 'type', 2 ) == '_moz' ) 213 213 return false ; 214 214