rem: FCKDomTools.TrimNode( htmlNode ) ; 
add: FCKDomTools.TrimNode( htmlNode, true ) ; 
context: FCKXHtml._AppendChildNodes = function( xmlNode, htmlNode, isBlockElement ){	// Trim block elements. This is also needed to avoid Firefox leaving extra	// BRs at the end of them (check made inside _AppendNode).	if ( isBlockElement )		FCKDomTools.TrimNode( htmlNode ) ;	var iCount = 0 ;		var oNode = htmlNode.firstChild ;	while ( oNode )	{		if ( this._AppendNode( xmlNode, oNode ) )			iCount++ ;		oNode = oNode.nextSibling ;	}		if ( iCount == 0 )	{		if ( isBlockElement && FCKConfig.FillEmptyBlocks )		{			this._AppendEntity( xmlNode, 'nbsp' ) ;			return xmlNode ;		}				var sNodeName = xmlNode.nodeName ;				// Some inline elements are required to have something inside (span, strong, etc...).		if ( FCKListsLib.InlineChildReqElements[ sNodeName ] )			return null ;		// We can't use short representation of empty elements that are not marked		// as empty in th XHTML DTD.		if ( !FCKListsLib.EmptyElements[ sNodeName ] )			xmlNode.appendChild( this.XML.createTextNode('') ) ;	}		return xmlNode ;}
meta: 8533	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8533/9e983f26dc3628701a539d2377aaa3db1e8f1f71/fckxhtml.js/clean/library/src/webapp/editor/FCKeditor/editor/_source/internals/fckxhtml.js