Index: /FCKeditor/trunk/editor/_source/internals/fckdomtools.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fckdomtools.js	(revision 138)
+++ /FCKeditor/trunk/editor/_source/internals/fckdomtools.js	(revision 139)
@@ -89,11 +89,19 @@
 					if ( sTrimmed.length == 0 )
 					{
-						node.removeChild( eChildNode ) ;
+						// If the trimmed text node is empty, just remove it.
+						
+						// Use "eChildNode.parentNode" instead of "node" to avoid IE bug (#81).
+						eChildNode.parentNode.removeChild( eChildNode ) ;
 						continue ;
 					}
 					else if ( sTrimmed.length < iOriginalLength )
 					{
+						// If the trimmed text lenght is less than the original
+						// lenght, strip all spaces from the end by splitting
+						// the text and removing the resulting useless node.
+
 						eChildNode.splitText( sTrimmed.length ) ;
-						node.removeChild( node.lastChild ) ;
+						// Use "node.lastChild.parentNode" instead of "node" to avoid IE bug (#81).
+						node.lastChild.parentNode.removeChild( node.lastChild ) ;
 					}
 			}
