Index: /FCKeditor/trunk/editor/_source/classes/fckenterkey.js
===================================================================
--- /FCKeditor/trunk/editor/_source/classes/fckenterkey.js	(revision 726)
+++ /FCKeditor/trunk/editor/_source/classes/fckenterkey.js	(revision 727)
@@ -483,20 +483,24 @@
 		else
 		{
-			var eBr = this.Window.document.createElement( 'br' ) ;
-
-			oRange.InsertNode( eBr ) ;
+			var eLineBreak = null ;
+			if ( sStartBlockTag.IEquals( 'pre' ) )
+				eLineBreak = this.Window.document.createTextNode( FCKBrowserInfo.IsIE ? '\r' : '\n' ) ;
+			else
+				eLineBreak = this.Window.document.createElement( 'br' ) ;
+
+			oRange.InsertNode( eLineBreak ) ;
 
 			// The space is required by Gecko only to make the cursor blink.
 			if ( FCKBrowserInfo.IsGecko )
-				FCKDomTools.InsertAfterNode( eBr, this.Window.document.createTextNode( '' ) ) ;
+				FCKDomTools.InsertAfterNode( eLineBreak, this.Window.document.createTextNode( '' ) ) ;
 
 			// If we are at the end of a block, we must be sure the bogus node is available in that block.
 			if ( bIsEndOfBlock && FCKBrowserInfo.IsGeckoLike )
-				FCKTools.AppendBogusBr( eBr.parentNode ) ;
+				FCKTools.AppendBogusBr( eLineBreak.parentNode ) ;
 
 			if ( FCKBrowserInfo.IsIE )
-				oRange.SetStart( eBr, 4 ) ;
+				oRange.SetStart( eLineBreak, 4 ) ;
 			else
-				oRange.SetStart( eBr.nextSibling, 1 ) ;
+				oRange.SetStart( eLineBreak.nextSibling, 1 ) ;
 
 		}
Index: /FCKeditor/trunk/editor/_source/internals/fckxhtml.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fckxhtml.js	(revision 726)
+++ /FCKeditor/trunk/editor/_source/internals/fckxhtml.js	(revision 727)
@@ -255,4 +255,6 @@
 		// Text Node.
 		case 3 :
+			if ( htmlNode.parentNode && htmlNode.parentNode.nodeName.IEquals( 'pre' ) )
+				return this._AppendTextNode( xmlNode, htmlNode.nodeValue ) ;
 			return this._AppendTextNode( xmlNode, htmlNode.nodeValue.ReplaceNewLineChars(' ') ) ;
 
