Index: /CKEditor/trunk/_source/core/dom/walker.js
===================================================================
--- /CKEditor/trunk/_source/core/dom/walker.js	(revision 3943)
+++ /CKEditor/trunk/_source/core/dom/walker.js	(revision 3944)
@@ -399,8 +399,7 @@
 		{
 			var isWhitespace = node && ( node.type == CKEDITOR.NODE_TEXT )
-							&& !CKEDITOR.tools.trim( node.getText() )
+							&& !CKEDITOR.tools.trim( node.getText() );
 			return isReject ^ isWhitespace;
 		};
-	}
-
+	};
 })();
Index: /CKEditor/trunk/_source/core/tools.js
===================================================================
--- /CKEditor/trunk/_source/core/tools.js	(revision 3943)
+++ /CKEditor/trunk/_source/core/tools.js	(revision 3944)
@@ -1,3 +1,3 @@
-﻿﻿/*
+﻿/*
 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
Index: /CKEditor/trunk/_source/plugins/dialog/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/dialog/plugin.js	(revision 3943)
+++ /CKEditor/trunk/_source/plugins/dialog/plugin.js	(revision 3944)
@@ -1,3 +1,3 @@
-﻿﻿/*
+﻿/*
 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
Index: /CKEditor/trunk/_source/plugins/find/dialogs/find.js
===================================================================
--- /CKEditor/trunk/_source/plugins/find/dialogs/find.js	(revision 3943)
+++ /CKEditor/trunk/_source/plugins/find/dialogs/find.js	(revision 3944)
@@ -712,5 +712,5 @@
 											dialog.getValueOf( 'replace', 'txtReplaceWordChk' ),
 											false, true ) )
-										;
+										{ /*jsl:pass*/ }
 
 										if ( finder.replaceCounter )
Index: /CKEditor/trunk/_source/plugins/htmldataprocessor/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/htmldataprocessor/plugin.js	(revision 3943)
+++ /CKEditor/trunk/_source/plugins/htmldataprocessor/plugin.js	(revision 3944)
@@ -1,3 +1,3 @@
-﻿﻿﻿/*
+﻿/*
 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
@@ -231,10 +231,10 @@
 	{
 		var protectedHtml = [],
-			tempRegex = /<\!--{cke_temp}(\d*?)-->/g;
+			tempRegex = /<\!--\{cke_temp\}(\d*?)-->/g;
 		var regexes =
 			[
 				// First of any other protection, we must protect all comments
 				// to avoid loosing them (of course, IE related).
-				/<!--[\s\S]*?-->/g,
+				(/<!--[\s\S]*?-->/g),
 
 				// Script tags will also be forced to be protected, otherwise
Index: /CKEditor/trunk/_source/plugins/scayt/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/scayt/plugin.js	(revision 3943)
+++ /CKEditor/trunk/_source/plugins/scayt/plugin.js	(revision 3944)
@@ -33,10 +33,12 @@
 			oParams.defLang = editor.scayt_defLang;
 			
-			if ( CKEDITOR._scaytParams ) 
+			if ( CKEDITOR._scaytParams )
+			{
 				for ( var k in CKEDITOR._scaytParams )
 				{
 					oParams[ k ] = CKEDITOR._scaytParams[ k ];
 				}
-			
+			}
+
 			var scayt_control = new scayt( oParams );
 
@@ -226,5 +228,5 @@
 			var match;
 			if ( data.match && ( match = data.match(/(.*)[\/\\](.*?\.\w+)$/) ) )
-				return { path: match[1], file: match[2] }
+				return { path: match[1], file: match[2] };
 			else
 				return data;
@@ -487,5 +489,5 @@
 
 						if ( scayt_control.fireOnContextMenu )
-							scayt_control.fireOnContextMenu( editor )
+							scayt_control.fireOnContextMenu( editor );
 
 						return mainSuggestions;
Index: /CKEditor/trunk/_source/plugins/sourcearea/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/sourcearea/plugin.js	(revision 3943)
+++ /CKEditor/trunk/_source/plugins/sourcearea/plugin.js	(revision 3944)
@@ -1,3 +1,3 @@
-﻿﻿/*
+﻿/*
 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.html or http://ckeditor.com/license
Index: /CKEditor/trunk/_source/plugins/styles/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/styles/plugin.js	(revision 3943)
+++ /CKEditor/trunk/_source/plugins/styles/plugin.js	(revision 3944)
@@ -709,7 +709,9 @@
 
 		if ( newBlockIsPre )
+		{
 			// Merge previous <pre> blocks.
 			mergePre( newBlock );
-	};
+		}
+	}
 
 	/**
@@ -801,5 +803,5 @@
 						if ( match.length == 1 )	// one space, preserve it
 							return '&nbsp;' ;
-						else if ( offset == 0 )		// beginning of block
+						else if ( !offset )		// beginning of block
 							return CKEDITOR.tools.repeat( '&nbsp;', match.length - 1 ) + ' ';
 						else				// end of block
Index: /CKEditor/trunk/_source/plugins/tabletools/dialogs/tableCell.js
===================================================================
--- /CKEditor/trunk/_source/plugins/tabletools/dialogs/tableCell.js	(revision 3943)
+++ /CKEditor/trunk/_source/plugins/tabletools/dialogs/tableCell.js	(revision 3944)
@@ -321,5 +321,5 @@
 			onOk : function()
 			{
-				var cells = this.cells
+				var cells = this.cells;
 				for ( var i = 0 ; i < cells.length ; i++ )
 					this.commitContent( cells[ i ] );
Index: /CKEditor/trunk/_source/tests/plugins/htmldataprocessor/htmldataprocessor.html
===================================================================
--- /CKEditor/trunk/_source/tests/plugins/htmldataprocessor/htmldataprocessor.html	(revision 3943)
+++ /CKEditor/trunk/_source/tests/plugins/htmldataprocessor/htmldataprocessor.html	(revision 3944)
@@ -351,26 +351,26 @@
 	<textarea id="_TEXTAREA_3869_1">#3869<script language="Javascript" type="text/javascript">
 	<!--
-		alert('-->')
+		alert('-->');
 	//-->
 	</script></textarea>
-	<textarea id="_TEXTAREA_3869_2">#3869<gallery>
+	<textarea id="_TEXTAREA_3869_2">#3869&lt;gallery&gt;
 	file.jpg
-	<options name="test1" value="value1"></options>
-	<options name="test2" value="value2"></options>
-	</gallery><?
-		echo '<script type="text/javascript">';
-		echo '<!--alert("-->");//-->';
-		echo '</script>';
-	?><!--<%Response.Write(now())%>//-->invalid<?
-		echo 'bbb<script>
-		<!-- 
-		ccc();<!-- </script><!-- </script>
-		//--></script>
-		<script><!-- 
-		<!-- 
+	&lt;options name="test1" value="value1"&gt;&lt;/options&gt;
+	&lt;options name="test2" value="value2"&gt;&lt;/options&gt;
+	&lt;/gallery&gt;&lt;?
+		echo '&lt;script type="text/javascript"&gt;';
+		echo '&lt;!--alert("--&gt;");//--&gt;';
+		echo '&lt;/script&gt;';
+	?&gt;&lt;!--&lt;%Response.Write(now())%&gt;//--&gt;invalid&lt;?
+		echo 'bbb&lt;script&gt;
+		&lt;!-- 
+		ccc();&lt;!-- &lt;/script&gt;&lt;!-- &lt;/script&gt;
+		//--&gt;&lt;/script&gt;
+		&lt;script&gt;&lt;!-- 
+		&lt;!-- 
 		ffff();
-		//--></script>
+		//--&gt;&lt;/script&gt;
 		ddd';
-	?>html</textarea>
+	?&gt;html</textarea>
 	<textarea id="_TEXTAREA_3591_2"><object classid="clsid"><param name="movie" value="movie.swf" /><embed src="movie.swf" type="application/x-shockwave-flash"></embed></object></textarea>
 </body>
