Index: /FCKeditor/trunk/editor/_source/classes/fckdomrange.js
===================================================================
--- /FCKeditor/trunk/editor/_source/classes/fckdomrange.js	(revision 819)
+++ /FCKeditor/trunk/editor/_source/classes/fckdomrange.js	(revision 820)
@@ -681,8 +681,8 @@
 					this.SetEnd( eStartBlock, 2 ) ;
 					var eDocFrag = this.ExtractContents() ;
-					FCKDomTools.TrimNode( eDocFrag.RootNode ) ;
 
 					// Duplicate the block element after it.
 					eEndBlock = eStartBlock.cloneNode( false ) ;
+					eEndBlock.removeAttribute( 'id', false ) ;
 
 					// Place the extracted contents in the duplicated block.
@@ -692,12 +692,9 @@
 
 					this.MoveToPosition( eStartBlock, 4 ) ;
-				}
-			}
-
-			if ( FCKBrowserInfo.IsGecko )
-			{
-				// In Gecko, the last child node must be a bogus <br>.
-				FCKTools.AppendBogusBr( eStartBlock ) ;
-				FCKTools.AppendBogusBr( eEndBlock ) ;
+
+					// In Gecko, the last child node must be a bogus <br>.
+					if ( FCKBrowserInfo.IsGecko )
+						FCKTools.AppendBogusBr( eStartBlock ) ;
+				}
 			}
 
