Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 4009)
+++ /CKEditor/trunk/CHANGES.html	(revision 4010)
@@ -214,4 +214,5 @@
 		<li><a href="http://dev.fckeditor.net/ticket/4122">#4122</a> : [IE] The image dialog 
 			was being rendered improperly when loading an image with long URL.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/4144">#4144</a> : Fixed the white-spaces at the end of &lt;pre&gt; is incorrectly removed.</li>
 	</ul>
 	<h3>
Index: /CKEditor/trunk/_source/core/htmlparser/fragment.js
===================================================================
--- /CKEditor/trunk/_source/core/htmlparser/fragment.js	(revision 4009)
+++ /CKEditor/trunk/_source/core/htmlparser/fragment.js	(revision 4010)
@@ -132,5 +132,5 @@
 			// Rtrim empty spaces on block end boundary. (#3585)
 			if ( element._.isBlockLike
-				 && !inPre )
+				 && element.name != 'pre' )
 			{
 
