Ticket #5668: 5668.patch
File 5668.patch, 615 bytes (added by , 14 years ago) |
---|
-
editor/_source/internals/fckxhtml.js
147 147 148 148 FCKXHtml._AppendChildNodes = function( xmlNode, htmlNode, isBlockElement ) 149 149 { 150 var oNode = htmlNode.firstChild ; 150 // Sometimes IE DOM doesn't report the first child node even 151 // if there's a single one exist, e.g. <span><p>text</p></span>. 152 var oNode = htmlNode.firstChild || htmlNode.childNodes.length && htmlNode.lastChild; 151 153 152 154 while ( oNode ) 153 155 {