Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 5749)
+++ /CKEditor/trunk/CHANGES.html	(revision 5750)
@@ -94,4 +94,5 @@
 		<li><a href="http://dev.fckeditor.net/ticket/5563">#5563</a> : Firefox: The disableObjectResizing and disableNativeTableHandles stopped working.</li>
 		<li><a href="http://dev.fckeditor.net/ticket/5781">#5781</a> : Firefox: Editing was not possible in an empty document.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/5293">#5293</a> : Firefox: Unwanted BR tags were being left in the editor output when it should be empty.</li>
 		<li>Updated the following language files:<ul>
 			<li><a href="http://dev.fckeditor.net/ticket/5962">#5962</a> : German;</li>
Index: /CKEditor/trunk/_source/core/htmlparser/fragment.js
===================================================================
--- /CKEditor/trunk/_source/core/htmlparser/fragment.js	(revision 5749)
+++ /CKEditor/trunk/_source/core/htmlparser/fragment.js	(revision 5750)
@@ -109,7 +109,7 @@
 		}
 
-		function sendPendingBRs()
-		{
-			while ( pendingBRs.length )
+		function sendPendingBRs( brsToIgnore )
+		{
+			while ( pendingBRs.length - ( brsToIgnore || 0 ) > 0 )
 				currentNode.add( pendingBRs.shift() );
 		}
@@ -393,5 +393,6 @@
 		parser.parse( fragmentHtml );
 
-		sendPendingBRs();
+		// Send all pending BRs except one, which we consider a unwanted bogus. (#5293)
+		sendPendingBRs( !CKEDITOR.env.ie && 1 );
 
 		// Close all pending nodes.
