Changeset 524
- Timestamp:
- 2007-07-25 02:54:57 (18 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fckxhtml.js
r523 r524 398 398 var item = htmlNode.childNodes[i] ; 399 399 var val = item.nodeValue ; 400 if ( i == 0 ) 401 val = "\r\n" + val ; 402 if ( item.nodeType == 3 ) 403 node.appendChild( FCKXHtml.XML.createTextNode( FCKXHtml._AppendSpecialItem( val ) ) ) ; 400 if ( item.nodeType == 3 && i == 0 ) 401 node.appendChild( FCKXHtml.XML.createTextNode( FCKXHtml._AppendSpecialItem( "\r\n" + val ) ) ) ; 404 402 else 405 403 FCKXHtml._AppendNode( node, item ) ;