Index: /FCKeditor/trunk/editor/_source/commandclasses/fckindentcommands.js
===================================================================
--- /FCKeditor/trunk/editor/_source/commandclasses/fckindentcommands.js	(revision 847)
+++ /FCKeditor/trunk/editor/_source/commandclasses/fckindentcommands.js	(revision 848)
@@ -268,5 +268,6 @@
 		// And replace the old list with the new forest.
 		var newList = FCKDomTools.ArrayToList( listArray ) ;
-		listNode.parentNode.replaceChild( newList.listNode, listNode ) ;
+		if ( newList )
+			listNode.parentNode.replaceChild( newList.listNode, listNode ) ;
 
 		// Clean up the markers.
Index: /FCKeditor/trunk/editor/_source/internals/fckdomtools.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fckdomtools.js	(revision 847)
+++ /FCKeditor/trunk/editor/_source/internals/fckdomtools.js	(revision 848)
@@ -645,5 +645,5 @@
 	},
 
-	// Convert our internal representation of a list back to a DOM tree.
+	// Convert our internal representation of a list back to a DOM forest.
 	ArrayToList : function( listArray, baseIndex )
 	{
@@ -702,5 +702,5 @@
 			}
 			else
-				break ;
+				return null ;
 
 			if ( listArray.length <= currentIndex || Math.max( listArray[currentIndex].indent, 0 ) < indentLevel )
