Index: /CKEditor/trunk/_source/plugins/htmldataprocessor/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/htmldataprocessor/plugin.js	(revision 7240)
+++ /CKEditor/trunk/_source/plugins/htmldataprocessor/plugin.js	(revision 7241)
@@ -308,5 +308,5 @@
 				// Avoid corrupting the inline event attributes (#7243).
 				// We should not rewrite the existed protected attributes, e.g. clipboard content from editor. (#5218)
-				if ( !/^on/.test( attrName ) && attributes.indexOf( 'data-cke-saved-' + attrName ) == -1 )
+				if ( !( /^on/ ).test( attrName ) && attributes.indexOf( 'data-cke-saved-' + attrName ) == -1 )
 					return ' data-cke-saved-' + fullAttr + ' ' + fullAttr;
 
Index: /CKEditor/trunk/_source/plugins/list/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/list/plugin.js	(revision 7240)
+++ /CKEditor/trunk/_source/plugins/list/plugin.js	(revision 7241)
@@ -20,5 +20,5 @@
 	{
 		var dir, parent, parentDir;
-		if ( dir = element.getDirection() )
+		if ( ( dir = element.getDirection() ) )
 		{
 			parent = element.getParent();
