Index: /CKEditor/branches/features/paste/_source/core/htmlparser/filter.js
===================================================================
--- /CKEditor/branches/features/paste/_source/core/htmlparser/filter.js	(revision 4746)
+++ /CKEditor/branches/features/paste/_source/core/htmlparser/filter.js	(revision 4747)
@@ -91,5 +91,5 @@
 							return this.onNode( ret );
 
-						// The none-root element has been dismissed by one of the filters.
+						// The non-root element has been dismissed by one of the filters.
 						if ( element.parent && !element.name )
 							break;
@@ -126,12 +126,4 @@
 
 				return value;
-			},
-
-			clone : function()
-			{
-				var clone = new CKEDITOR.htmlParser.filter();
-				// Shallow copy all the rules.
-				clone._ = CKEDITOR.tools.clone( this._ );
-				return clone;
 			}
 		}
Index: /CKEditor/branches/features/paste/_source/core/htmlparser/fragment.js
===================================================================
--- /CKEditor/branches/features/paste/_source/core/htmlparser/fragment.js	(revision 4746)
+++ /CKEditor/branches/features/paste/_source/core/htmlparser/fragment.js	(revision 4747)
@@ -357,5 +357,4 @@
 		parser.onComment = function( comment )
 		{
-			checkPending();
 			currentNode.add( new CKEDITOR.htmlParser.comment( comment ) );
 		};
@@ -439,5 +438,5 @@
 		 * alert( writer.getHtml() );  "&lt;p&gt;&lt;b&gt;Example&lt;/b&gt;&lt;/p&gt;"
 		 */
-		writeHtml : function( writer, filter, skipSelf )
+		writeHtml : function( writer, filter )
 		{
 			var isChildrenFiltered;
@@ -462,5 +461,4 @@
 				this.children[i].writeHtml( writer, filter );
 		}
-
 	};
 })();
Index: /CKEditor/branches/features/paste/_source/core/tools.js
===================================================================
--- /CKEditor/branches/features/paste/_source/core/tools.js	(revision 4746)
+++ /CKEditor/branches/features/paste/_source/core/tools.js	(revision 4747)
@@ -80,4 +80,15 @@
 			var clone;
 
+			// Array.
+			if ( obj && ( obj instanceof Array ) )
+			{
+				clone = [];
+
+				for ( var i = 0 ; i < obj.length ; i++ )
+					clone[ i ] = this.clone( obj[ i ] );
+
+				return clone;
+			}
+
 			// "Static" types.
 			if ( obj === null
Index: /CKEditor/branches/features/paste/_source/plugins/pagebreak/plugin.js
===================================================================
--- /CKEditor/branches/features/paste/_source/plugins/pagebreak/plugin.js	(revision 4746)
+++ /CKEditor/branches/features/paste/_source/plugins/pagebreak/plugin.js	(revision 4747)
@@ -57,5 +57,5 @@
 						{
 							var attributes = element.attributes
-								style = attributes && element.attributes.style,
+								style = attributes && attributes.style,
 								child = style && element.children.length == 1 && element.children[ 0 ],
 								childStyle = child && ( child.name == 'span' ) && child.attributes.style;
