Changeset 526
- Timestamp:
- 2007-07-25 04:19:14 (18 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fckdomtools.js
r499 r526 39 39 // If the node is a <pre>, ignore. Whitespaces in the beginning or tail of a <pre> tag 40 40 // shows up as in HTML code so we shouldn't delete them. 41 if ( node. tagName.toLowerCase() == 'pre' )41 if ( node.nodeType == 1 && node.tagName.toLowerCase() == 'pre' ) 42 42 return ; 43 43 this.LTrimNode( node ) ;