Index: /CKEditor/branches/prototype/_source/plugins/removeformat/plugin.js
===================================================================
--- /CKEditor/branches/prototype/_source/plugins/removeformat/plugin.js	(revision 2976)
+++ /CKEditor/branches/prototype/_source/plugins/removeformat/plugin.js	(revision 2977)
@@ -84,7 +84,4 @@
 					while ( currentNode )
 					{
-						if ( currentNode.getName() == 'img' && currentNode.getAttribute( '_cke_protected_html' ) )
-							break;
-
 						// If we have reached the end of the selection, stop looping.
 						if ( currentNode.equals( endNode ) )
@@ -95,9 +92,13 @@
 						var nextNode = currentNode.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT );
 
-						// Remove elements nodes that match with this style rules.
-						if ( tagsRegex.test( currentNode.getName() ) )
-							currentNode.remove( true );
-						else
-							currentNode.removeAttributes( removeAttributes );
+						// This node must not be a fake element.
+						if ( currentNode.getName() != 'img' || !currentNode.getAttribute( '_cke_protected_html' ) )
+						{
+							// Remove elements nodes that match with this style rules.
+							if ( tagsRegex.test( currentNode.getName() ) )
+								currentNode.remove( true );
+							else
+								currentNode.removeAttributes( removeAttributes );
+						}
 
 						currentNode = nextNode;
