Changeset 499
- Timestamp:
- 2007-07-23 02:37:13 (17 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fckdomtools.js
r297 r499 37 37 TrimNode : function( node, ignoreEndBRs ) 38 38 { 39 // If the node is a <pre>, ignore. Whitespaces in the beginning or tail of a <pre> tag 40 // shows up as in HTML code so we shouldn't delete them. 41 if ( node.tagName.toLowerCase() == 'pre' ) 42 return ; 39 43 this.LTrimNode( node ) ; 40 44 this.RTrimNode( node, ignoreEndBRs ) ;