Index: /CKEditor/trunk/_dev/fixlineends/fixlineends.php
===================================================================
--- /CKEditor/trunk/_dev/fixlineends/fixlineends.php	(revision 5148)
+++ /CKEditor/trunk/_dev/fixlineends/fixlineends.php	(revision 5149)
@@ -287,5 +287,5 @@
 
             case 'LF':
-                if(substr($line, -2) === CRLF) {
+                if (substr($line, -2) === CRLF) {
                     $line = substr($line, 0, -2) . LF;
                     $modified = true;
Index: /CKEditor/trunk/_source/core/command.js
===================================================================
--- /CKEditor/trunk/_source/core/command.js	(revision 5148)
+++ /CKEditor/trunk/_source/core/command.js	(revision 5149)
@@ -13,5 +13,5 @@
 			return false;
 
-		if( this.editorFocus )     // Give editor focus if necessary (#4355).
+		if ( this.editorFocus )     // Give editor focus if necessary (#4355).
 			editor.focus();
 
Index: /CKEditor/trunk/_source/core/dom/element.js
===================================================================
--- /CKEditor/trunk/_source/core/dom/element.js	(revision 5148)
+++ /CKEditor/trunk/_source/core/dom/element.js	(revision 5149)
@@ -1349,5 +1349,5 @@
 					continue;
 
-				if( attrName == 'checked' && ( attrValue = this.getAttribute( attrName ) ) )
+				if ( attrName == 'checked' && ( attrValue = this.getAttribute( attrName ) ) )
 					dest.setAttribute( attrName, attrValue );
 				// IE BUG: value attribute is never specified even if it exists.
Index: /CKEditor/trunk/_source/core/dom/range.js
===================================================================
--- /CKEditor/trunk/_source/core/dom/range.js	(revision 5148)
+++ /CKEditor/trunk/_source/core/dom/range.js	(revision 5149)
@@ -253,8 +253,8 @@
 
 		// Cleanup any marked node.
-		if( removeStartNode )
+		if ( removeStartNode )
 			startNode.remove();
 
-		if( removeEndNode && endNode.$.parentNode )
+		if ( removeEndNode && endNode.$.parentNode )
 			endNode.remove();
 	};
@@ -279,5 +279,5 @@
 					return false;
 				}
-			else if( node.type == CKEDITOR.NODE_ELEMENT )
+			else if ( node.type == CKEDITOR.NODE_ELEMENT )
 			{
 				// If there are non-empty inline elements (e.g. <img />), then we're not
Index: /CKEditor/trunk/_source/core/dom/window.js
===================================================================
--- /CKEditor/trunk/_source/core/dom/window.js	(revision 5148)
+++ /CKEditor/trunk/_source/core/dom/window.js	(revision 5149)
@@ -37,5 +37,5 @@
 		{
 			// Webkit is sometimes failed to focus iframe, blur it first(#3835).
-			if( CKEDITOR.env.webkit && this.$.parent )
+			if ( CKEDITOR.env.webkit && this.$.parent )
 				this.$.parent.focus();
 			this.$.focus();
Index: /CKEditor/trunk/_source/core/editor.js
===================================================================
--- /CKEditor/trunk/_source/core/editor.js	(revision 5148)
+++ /CKEditor/trunk/_source/core/editor.js	(revision 5149)
@@ -664,5 +664,5 @@
 				var data = this.getData();
 
-				if( this.config.htmlEncodeOutput )
+				if ( this.config.htmlEncodeOutput )
 					data = CKEDITOR.tools.htmlEncode( data );
 
Index: /CKEditor/trunk/_source/core/editor_basic.js
===================================================================
--- /CKEditor/trunk/_source/core/editor_basic.js	(revision 5148)
+++ /CKEditor/trunk/_source/core/editor_basic.js	(revision 5149)
@@ -137,5 +137,5 @@
 			element = document.getElementById( elementOrId );
 
-			if( !element )
+			if ( !element )
 				throw '[CKEDITOR.editor.appendTo] The element with id "' + elementOrId + '" was not found.';
 		}
Index: /CKEditor/trunk/_source/core/htmlparser.js
===================================================================
--- /CKEditor/trunk/_source/core/htmlparser.js	(revision 5148)
+++ /CKEditor/trunk/_source/core/htmlparser.js	(revision 5149)
@@ -202,5 +202,5 @@
 
 				// Comment
-				if( ( tagName = parts[ 2 ] ) )
+				if ( ( tagName = parts[ 2 ] ) )
 					this.onComment( tagName );
 			}
Index: /CKEditor/trunk/_source/core/htmlparser/element.js
===================================================================
--- /CKEditor/trunk/_source/core/htmlparser/element.js	(revision 5148)
+++ /CKEditor/trunk/_source/core/htmlparser/element.js	(revision 5149)
@@ -115,5 +115,5 @@
 			element.filterChildren = function()
 			{
-				if( !isChildrenFiltered )
+				if ( !isChildrenFiltered )
 				{
 					var writer = new CKEDITOR.htmlParser.basicWriter();
@@ -178,5 +178,5 @@
 					newAttrName = a;
 					value = attributes[ a ];
-					if( i == 1 )
+					if ( i == 1 )
 						attribsArray.push( [ a, value ] );
 					else if ( filter )
@@ -189,5 +189,5 @@
 								break;
 							}
-							else if( newAttrName != a )
+							else if ( newAttrName != a )
 							{
 								delete attributes[ a ];
@@ -198,7 +198,7 @@
 								break;
 						}
-						if( newAttrName )
+						if ( newAttrName )
 						{
-							if( ( value = filter.onAttribute( element, newAttrName, value ) ) === false )
+							if ( ( value = filter.onAttribute( element, newAttrName, value ) ) === false )
 								delete attributes[ newAttrName ];
 							else
Index: /CKEditor/trunk/_source/core/htmlparser/filter.js
===================================================================
--- /CKEditor/trunk/_source/core/htmlparser/filter.js	(revision 5148)
+++ /CKEditor/trunk/_source/core/htmlparser/filter.js	(revision 5149)
@@ -151,5 +151,5 @@
 	function addItemsToList( list, items, priority )
 	{
-		if( typeof items == 'function' )
+		if ( typeof items == 'function' )
 			items = [ items ];
 
Index: /CKEditor/trunk/_source/core/htmlparser/fragment.js
===================================================================
--- /CKEditor/trunk/_source/core/htmlparser/fragment.js	(revision 5148)
+++ /CKEditor/trunk/_source/core/htmlparser/fragment.js	(revision 5149)
@@ -218,5 +218,5 @@
 
 				// Fixing malformed nested lists by moving it into a previous list item. (#3828)
-				if( tagName in listBlocks
+				if ( tagName in listBlocks
 					&& currentName in listBlocks )
 				{
@@ -261,5 +261,5 @@
 				}
 
-				if( addPoint )
+				if ( addPoint )
 					currentNode = addPoint;
 				// Try adding it to the return point, or the parent element.
Index: /CKEditor/trunk/_source/plugins/clipboard/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/clipboard/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/clipboard/plugin.js	(revision 5149)
@@ -322,5 +322,5 @@
 						function( evt )
 						{
-							if( depressBeforePasteEvent )
+							if ( depressBeforePasteEvent )
 								return;
 
Index: /CKEditor/trunk/_source/plugins/contextmenu/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/contextmenu/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/contextmenu/plugin.js	(revision 5149)
@@ -131,5 +131,5 @@
 				{
 					evt = evt.data;
-					if( evt.$.button != 2 )
+					if ( evt.$.button != 2 )
 					{
 						if ( evt.getKeystroke() == CKEDITOR.CTRL + 1 )
@@ -144,5 +144,5 @@
 					var target = evt.getTarget();
 
-					if( !contextMenuOverrideButton )
+					if ( !contextMenuOverrideButton )
 					{
 						var ownerDoc =  target.getDocument();
@@ -203,5 +203,5 @@
 				this );
 
-			if( CKEDITOR.env.webkit )
+			if ( CKEDITOR.env.webkit )
 			{
 				var holdCtrlKey,
Index: /CKEditor/trunk/_source/plugins/div/dialogs/div.js
===================================================================
--- /CKEditor/trunk/_source/plugins/div/dialogs/div.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/div/dialogs/div.js	(revision 5149)
@@ -31,5 +31,5 @@
 		{
 			var child = children.getItem( i );
-			if( ! ( child.type === CKEDITOR.NODE_TEXT
+			if ( ! ( child.type === CKEDITOR.NODE_TEXT
 				&& ( /^[ \t\n\r]+$/ ).test( child.getText() ) ) )
 				retval.push( child );
@@ -56,5 +56,5 @@
 
 			// Exclude 'td' and 'th' when 'wrapping table'
-			if( editor.config.div_wrapTable )
+			if ( editor.config.div_wrapTable )
 			{
 				delete definition.td;
@@ -95,5 +95,5 @@
 			{
 				// Exclude layout container elements
-				if( /^(?!vbox|hbox)/.test( field.type ) )
+				if ( /^(?!vbox|hbox)/.test( field.type ) )
 				{
 					if ( !field.setup )
@@ -156,5 +156,5 @@
 				{
 					// include contents of blockLimit elements.
-					if( block.getName() in divLimitDefinition )
+					if ( block.getName() in divLimitDefinition )
 					{
 						var j, childNodes = block.getChildren();
@@ -411,5 +411,5 @@
 			onOk : function()
 			{
-				if( command == 'editdiv' )
+				if ( command == 'editdiv' )
 					containers = [ this._element ];
 				else
Index: /CKEditor/trunk/_source/plugins/div/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/div/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/div/plugin.js	(revision 5149)
@@ -48,5 +48,5 @@
 						{
 							range = ranges[ i ];
-							if( range.collapsed )
+							if ( range.collapsed )
 								findDiv( selection.getStartElement() );
 							else
Index: /CKEditor/trunk/_source/plugins/find/dialogs/find.js
===================================================================
--- /CKEditor/trunk/_source/plugins/find/dialogs/find.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/find/dialogs/find.js	(revision 5149)
@@ -108,5 +108,5 @@
 				var currentTextNode = this.textNode;
 				// Already at the end of document, no more character available.
-				if(  currentTextNode === null )
+				if (  currentTextNode === null )
 					return cursorStep.call( this );
 
@@ -114,5 +114,5 @@
 
 				// There are more characters in the text node, step forward.
-				if( currentTextNode
+				if ( currentTextNode
 				    && rtl
 					&& this.offset > 0 )
@@ -121,5 +121,5 @@
 					return cursorStep.call( this );
 				}
-				else if( currentTextNode
+				else if ( currentTextNode
 					&& this.offset < currentTextNode.getLength() - 1 )
 				{
@@ -143,5 +143,5 @@
 
 						// Marking as match character boundaries.
-						if( !currentTextNode
+						if ( !currentTextNode
 						   && checkCharactersBoundary( this._.walker.current ) )
 							this._.matchBoundary = true;
@@ -431,5 +431,5 @@
 			find : function( pattern, matchCase, matchWord, matchCyclic, highlightMatched, cyclicRerun )
 			{
-				if( !this.matchRange )
+				if ( !this.matchRange )
 					this.matchRange =
 						new characterRange(
@@ -805,5 +805,5 @@
 							}
 
-							if( isUserSelect )
+							if ( isUserSelect )
 								// synchronize fields on tab switch.
 								syncFieldsBetweenTabs.call( this, pageId );
Index: /CKEditor/trunk/_source/plugins/floatpanel/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/floatpanel/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/floatpanel/plugin.js	(revision 5149)
@@ -256,5 +256,5 @@
 
 							// Vertical off screen is simpler.
-							if( top + panelSize.height > viewportSize.height + windowScroll.y )
+							if ( top + panelSize.height > viewportSize.height + windowScroll.y )
 								top -= panelSize.height;
 
@@ -376,5 +376,5 @@
 			var panel = panels[ i ];
 			// Safe to destroy it since there're no more instances.(#4241)
-			if( isLastInstance )
+			if ( isLastInstance )
 				panel.destroy();
 			// Panel might be used by other instances, just hide them.(#4552)
Index: /CKEditor/trunk/_source/plugins/forms/dialogs/select.js
===================================================================
--- /CKEditor/trunk/_source/plugins/forms/dialogs/select.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/forms/dialogs/select.js	(revision 5149)
@@ -163,5 +163,5 @@
 			{
 				editor.insertElement(element);
-				if( CKEDITOR.env.ie )
+				if ( CKEDITOR.env.ie )
 				{
 					var sel = editor.getSelection(),
Index: /CKEditor/trunk/_source/plugins/forms/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/forms/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/forms/plugin.js	(revision 5149)
@@ -167,5 +167,5 @@
 	{
 		// Cleanup certain IE form elements default values.
-		if( CKEDITOR.env.ie )
+		if ( CKEDITOR.env.ie )
 		{
 			var dataProcessor = editor.dataProcessor,
@@ -180,5 +180,5 @@
 						var attrs = input.attributes,
 							type = attrs.type;
-						if( type == 'checkbox' || type == 'radio' )
+						if ( type == 'checkbox' || type == 'radio' )
 							attrs.value == 'on' && delete attrs.value;
 					}
Index: /CKEditor/trunk/_source/plugins/image/dialogs/image.js
===================================================================
--- /CKEditor/trunk/_source/plugins/image/dialogs/image.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/image/dialogs/image.js	(revision 5149)
@@ -86,5 +86,5 @@
 	function commitInternally( targetFields )
 	{
-		if( incommit )
+		if ( incommit )
 			return;
 
@@ -93,5 +93,5 @@
 		var dialog = this.getDialog(),
 			element = dialog.imageElement;
-		if( element )
+		if ( element )
 		{
 			// Commit this field and broadcast to target fields.
@@ -386,5 +386,5 @@
 
 				// Remove empty style attribute.
-				if( !this.imageElement.getAttribute( 'style' ) )
+				if ( !this.imageElement.getAttribute( 'style' ) )
 					this.imageElement.removeAttribute( 'style' );
 
@@ -683,5 +683,5 @@
 																		element.removeStyle( 'height' );
 
-																	if( !internalCommit && type == IMAGE )
+																	if ( !internalCommit && type == IMAGE )
 																		element.removeAttribute( 'height' );
 																}
@@ -824,5 +824,5 @@
 															}
 
-															if( !internalCommit && type == IMAGE )
+															if ( !internalCommit && type == IMAGE )
 																element.removeAttribute( 'border' );
 														}
@@ -893,5 +893,5 @@
 															}
 
-															if( !internalCommit && type == IMAGE )
+															if ( !internalCommit && type == IMAGE )
 																element.removeAttribute( 'hspace' );
 														}
@@ -960,5 +960,5 @@
 															}
 
-															if( !internalCommit && type == IMAGE )
+															if ( !internalCommit && type == IMAGE )
 																element.removeAttribute( 'vspace' );
 														}
@@ -1026,5 +1026,5 @@
 																element.removeStyle( 'float' );
 
-															if( !internalCommit && type == IMAGE )
+															if ( !internalCommit && type == IMAGE )
 															{
 																value = ( element.getAttribute( 'align' ) || '' ).toLowerCase();
Index: /CKEditor/trunk/_source/plugins/indent/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/indent/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/indent/plugin.js	(revision 5149)
@@ -160,5 +160,5 @@
 				for ( i = count - 1 ; i >= 0 ; i-- )
 				{
-					if( ( child = children.getItem( i ) ) && child.is && child.is( 'li' )  )
+					if ( ( child = children.getItem( i ) ) && child.is && child.is( 'li' )  )
 						pendingLis.push( child );
 				}
Index: /CKEditor/trunk/_source/plugins/link/dialogs/link.js
===================================================================
--- /CKEditor/trunk/_source/plugins/link/dialogs/link.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/link/dialogs/link.js	(revision 5149)
@@ -118,5 +118,5 @@
 				href.replace( functionCallProtectedEmailLinkRegex, function( match, funcName, funcArgs )
 				{
-					if( funcName == compiledProtectionFunction.name )
+					if ( funcName == compiledProtectionFunction.name )
 					{
 						retval.type = 'email';
@@ -142,5 +142,5 @@
 		}
 
-		if( !retval.type )
+		if ( !retval.type )
 		{
 			if ( ( anchorMatch = href.match( anchorRegex ) ) )
@@ -310,5 +310,5 @@
 
 	// Compile the protection function pattern.
-	if( emailProtection && emailProtection != 'encode' )
+	if ( emailProtection && emailProtection != 'encode' )
 	{
 		var compiledProtectionFunction = {};
Index: /CKEditor/trunk/_source/plugins/list/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/list/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/list/plugin.js	(revision 5149)
@@ -571,5 +571,5 @@
 				tailNbspmatch;
 
-			if( nodeBefore
+			if ( nodeBefore
 				&& ( nodeBefore.name && nodeBefore.name == 'br'
 					|| nodeBefore.value && ( tailNbspmatch = nodeBefore.value.match( tailNbspRegex ) ) ) )
@@ -632,5 +632,5 @@
 		{
 			var dataProcessor = editor.dataProcessor;
-			if( dataProcessor )
+			if ( dataProcessor )
 			{
 				dataProcessor.dataFilter.addRules( defaultListDataFilterRules );
Index: /CKEditor/trunk/_source/plugins/pastefromword/filter/default.js
===================================================================
--- /CKEditor/trunk/_source/plugins/pastefromword/filter/default.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/pastefromword/filter/default.js	(revision 5149)
@@ -26,5 +26,5 @@
 		{
 			child = children[ i ];
-			if( !child.name )
+			if ( !child.name )
 				continue;
 
@@ -83,5 +83,5 @@
 				for( var style in name )
 				{
-					if( name.hasOwnProperty( style ) )
+					if ( name.hasOwnProperty( style ) )
 						addingStyleText += style + ':' + name[ style ] + ';';
 				}
@@ -94,5 +94,5 @@
 		}
 
-		if( !this.attributes )
+		if ( !this.attributes )
 			this.attributes = {};
 
@@ -187,5 +187,5 @@
 			{
 				var styleText = element.attributes && element.attributes.style;
-				if( /mso-list\s*:\s*Ignore/i.test( styleText ) )
+				if ( /mso-list\s*:\s*Ignore/i.test( styleText ) )
 					return true;
 			},
@@ -258,5 +258,5 @@
 				return function( cssLength )
 				{
-					if( cssLengthRelativeUnit.test( cssLength ) )
+					if ( cssLengthRelativeUnit.test( cssLength ) )
 					{
 						calculator.setStyle( 'width', cssLength );
@@ -329,5 +329,5 @@
 						var attributes = child.attributes;
 
-						if( child.name in CKEDITOR.dtd.$listItem )
+						if ( child.name in CKEDITOR.dtd.$listItem )
 						{
 							var listItemChildren = child.children,
@@ -336,5 +336,5 @@
 
 							// Move out nested list.
-							if( last.name in CKEDITOR.dtd.$list )
+							if ( last.name in CKEDITOR.dtd.$list )
 							{
 								children.splice( i + 1, 0, last );
@@ -480,5 +480,5 @@
 									 for( var i = 0 ; i < styles.length; i++ )
 									 {
-										if( styles[ i ] )
+										if ( styles[ i ] )
 										{
 											namePattern = styles[ i ][ 0 ];
@@ -493,13 +493,13 @@
 												whitelist && ( newValue = newValue || value );
 
-												if( typeof newValue == 'function' )
+												if ( typeof newValue == 'function' )
 													newValue = newValue( value, element, name );
 
 												// Return an couple indicate both name and value
 												// changed.
-												if( newValue && newValue.push )
+												if ( newValue && newValue.push )
 													name = newValue[ 0 ], newValue = newValue[ 1 ];
 
-												if( typeof newValue == 'string' )
+												if ( typeof newValue == 'string' )
 													rules.push( [ name, newValue ] );
 												return;
@@ -568,5 +568,5 @@
 				bogusAttrFilter : function( value, element )
 				{
-					if( element.name.indexOf( 'cke:' ) == -1 )
+					if ( element.name.indexOf( 'cke:' ) == -1 )
 						return false;
 				},
@@ -646,5 +646,5 @@
 							element.filterChildren();
 							// Is the heading actually a list item?
-							if( resolveListItem( element ) )
+							if ( resolveListItem( element ) )
 								return;
 
@@ -721,10 +721,10 @@
 
 													// Reject MS-Word Normal styles.
-													if( className.match( /MsoNormal/ ) )
+													if ( className.match( /MsoNormal/ ) )
 														return;
 
-													if( !rules[ tagName ] )
+													if ( !rules[ tagName ] )
 														rules[ tagName ] = {};
-													if( className )
+													if ( className )
 														rules[ tagName ][ className ] = styleBlock;
 													else
@@ -739,8 +739,8 @@
 										className = element.attributes && element.attributes[ 'class' ],
 										style;
-									if( name in rules )
+									if ( name in rules )
 									{
 										style = rules[ name ];
-										if( typeof style == 'object' )
+										if ( typeof style == 'object' )
 											style = style[ className ];
 										// Maintain style rules priorities.
@@ -783,5 +783,5 @@
 						// Instead we use a clear-float div after the table to properly achieve the same layout.
 						var singleChild = element.onlyChild();
-						if( singleChild && singleChild.name == 'table' )
+						if ( singleChild && singleChild.name == 'table' )
 						{
 							var attrs = element.attributes;
@@ -925,5 +925,5 @@
 					{
 						var attrs = element.attributes;
-						if( attrs && !attrs.href && attrs.name )
+						if ( attrs && !attrs.href && attrs.name )
 							delete element.name;
 					},
@@ -984,5 +984,5 @@
 							function( value, element )
 							{
-								if( element.name == 'img' )
+								if ( element.name == 'img' )
 									return value;
 							} ],
@@ -991,5 +991,5 @@
 							function( value, element )
 							{
-								if( element.name in { table : 1, td : 1, th : 1, img : 1 } )
+								if ( element.name in { table : 1, td : 1, th : 1, img : 1 } )
 									return value;
 							} ]
@@ -1001,7 +1001,7 @@
 						[ ( /-color$/ ), null, function( value )
 						{
-							if( value == 'transparent' )
+							if ( value == 'transparent' )
 								return false;
-							if( CKEDITOR.env.gecko )
+							if ( CKEDITOR.env.gecko )
 								return value.replace( /-moz-use-text-color/g, 'transparent' );
 						} ],
@@ -1018,5 +1018,5 @@
 					'width' : function( value, element )
 					{
-						if( element.name in dtd.$tableContent )
+						if ( element.name in dtd.$tableContent )
 							return false;
 					},
@@ -1024,5 +1024,5 @@
 					'border' : function( value, element )
 					{
-						if( element.name in dtd.$tableContent )
+						if ( element.name in dtd.$tableContent )
 							return false;
 					},
@@ -1065,5 +1065,5 @@
 
 							// Reveal the <img> element in conditional comments for Firefox.
-							if( CKEDITOR.env.gecko && imageInfo )
+							if ( CKEDITOR.env.gecko && imageInfo )
 							{
 								var img = CKEDITOR.htmlParser.fragment.fromHtml( imageInfo[ 0 ] ).children[ 0 ],
@@ -1108,5 +1108,5 @@
 		// comments, fixing them first( convert it to upperlevel-revealed one ).
 		// e.g. <![if !vml]>...<![endif]>
-		if( CKEDITOR.env.gecko )
+		if ( CKEDITOR.env.gecko )
 			data = data.replace( /(<!--\[if[^<]*?\])-->([\S\s]*?)<!--(\[endif\]-->)/gi, '$1$2$3' );
 
Index: /CKEditor/trunk/_source/plugins/pastefromword/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/pastefromword/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/pastefromword/plugin.js	(revision 5149)
@@ -28,5 +28,5 @@
 				{
 					forceFromWord = 1;
-					if( editor.execCommand( 'paste' ) === false )
+					if ( editor.execCommand( 'paste' ) === false )
 					{
 						editor.on( 'dialogHide', function ( evt )
@@ -60,5 +60,5 @@
 							if ( isLazyLoad )
 								editor.fire( 'paste', data );
-							else if( !editor.config.pasteFromWordPromptCleanup
+							else if ( !editor.config.pasteFromWordPromptCleanup
 							  || ( forceFromWord || confirm( editor.lang.pastefromword.confirmCleanup ) ) )
 							 {
Index: /CKEditor/trunk/_source/plugins/pastetext/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/pastetext/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/pastetext/plugin.js	(revision 5149)
@@ -58,5 +58,5 @@
 	{
 		// Native text insertion.
-		if( CKEDITOR.env.ie )
+		if ( CKEDITOR.env.ie )
 		{
 			var selection = doc.selection;
Index: /CKEditor/trunk/_source/plugins/scayt/dialogs/options.js
===================================================================
--- /CKEditor/trunk/_source/plugins/scayt/dialogs/options.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/scayt/dialogs/options.js	(revision 5149)
@@ -31,8 +31,8 @@
 
 	function setCheckedValue(radioObj, newValue) {
-		if(!radioObj)
+		if (!radioObj)
 			return;
 		var radioLength = radioObj.length;
-		if(radioLength == undefined) {
+		if (radioLength == undefined) {
 			radioObj.checked = (radioObj.value == newValue.toString());
 			return;
@@ -40,5 +40,5 @@
 		for(var i = 0; i < radioLength; i++) {
 			radioObj[i].checked = false;
-			if(radioObj[i].value == newValue.toString()) {
+			if (radioObj[i].value == newValue.toString()) {
 				radioObj[i].checked = true;
 			}
Index: /CKEditor/trunk/_source/plugins/selection/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/selection/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/selection/plugin.js	(revision 5149)
@@ -150,5 +150,5 @@
 										&& savedRange.parentElement();
 
-									if( !( parent && parent.tagName.toLowerCase() in CKEDITOR.dtd.$tableContent ) )
+									if ( !( parent && parent.tagName.toLowerCase() in CKEDITOR.dtd.$tableContent ) )
 										editor.document.$.selection.empty();
 								}
Index: /CKEditor/trunk/_source/plugins/showborders/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/showborders/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/showborders/plugin.js	(revision 5149)
@@ -111,5 +111,5 @@
 			}
 
-			if( htmlFilter )
+			if ( htmlFilter )
 			{
 				htmlFilter.addRules(
@@ -134,5 +134,5 @@
 			CKEDITOR.on( 'dialogDefinition', function( ev )
 				{
-					if( ev.editor != editor )
+					if ( ev.editor != editor )
 						return;
 
Index: /CKEditor/trunk/_source/plugins/styles/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/styles/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/styles/plugin.js	(revision 5149)
@@ -210,5 +210,5 @@
 								return false;
 					}
-					if( fullMatch )
+					if ( fullMatch )
 						return true;
 				}
@@ -581,5 +581,5 @@
 						break;
 					// Avoid copying any matched element.
-					else if( newElement.match )
+					else if ( newElement.match )
 						continue;
 					else
@@ -651,5 +651,5 @@
 				{
 					// Remove style from element or overriding element.
-					if( currentNode.getName() == this.element )
+					if ( currentNode.getName() == this.element )
 						removeFromElement( this, currentNode );
 					else
@@ -896,5 +896,5 @@
 		// Now remove override styles on the element.
 		attributes = overrides[ element.getName() ];
-		if( attributes )
+		if ( attributes )
 			removeAttrs();
 		removeNoAttribsElement( element );
@@ -1132,5 +1132,5 @@
 	function getOverrides( style )
 	{
-		if( style._.overrides )
+		if ( style._.overrides )
 			return style._.overrides;
 
Index: /CKEditor/trunk/_source/plugins/table/dialogs/table.js
===================================================================
--- /CKEditor/trunk/_source/plugins/table/dialogs/table.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/table/dialogs/table.js	(revision 5149)
@@ -193,5 +193,5 @@
 						table.removeStyle( 'width' );
 
-					if( !table.getAttribute( 'style' ) )
+					if ( !table.getAttribute( 'style' ) )
 						table.removeAttribute( 'style' );
 				}
Index: /CKEditor/trunk/_source/plugins/tabletools/dialogs/tableCell.js
===================================================================
--- /CKEditor/trunk/_source/plugins/tabletools/dialogs/tableCell.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/tabletools/dialogs/tableCell.js	(revision 5149)
@@ -339,5 +339,5 @@
 											{
 												var attrVal = parseInt( selectedCell.getAttribute( 'rowSpan' ), 10 );
-												if( attrVal && attrVal  != 1 )
+												if ( attrVal && attrVal  != 1 )
 												 	this.setValue(  attrVal );
 											},
@@ -362,5 +362,5 @@
 											{
 												var attrVal = parseInt( element.getAttribute( 'colSpan' ), 10 );
-												if( attrVal && attrVal  != 1 )
+												if ( attrVal && attrVal  != 1 )
 												 	this.setValue(  attrVal );
 											},
Index: /CKEditor/trunk/_source/plugins/tabletools/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/tabletools/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/tabletools/plugin.js	(revision 5149)
@@ -357,5 +357,5 @@
 	{
 		var oRow = tableMap[ rowIndex ];
-		if( typeof cell == 'undefined' )
+		if ( typeof cell == 'undefined' )
 			return oRow;
 
@@ -364,5 +364,5 @@
 			if ( cell.is && oRow[c] == cell.$ )
 				return c;
-			else if( c == cell )
+			else if ( c == cell )
 				return new CKEDITOR.dom.element( oRow[ c ] );
 		}
@@ -376,9 +376,9 @@
 		{
 			var row = tableMap[ r ];
-			if( typeof cell == 'undefined' )
+			if ( typeof cell == 'undefined' )
 				oCol.push( row[ colIndex ] );
-			else if( cell.is && row[ colIndex ] == cell.$ )
+			else if ( cell.is && row[ colIndex ] == cell.$ )
 				return r;
-			else if( r == cell )
+			else if ( r == cell )
 				return new CKEDITOR.dom.element( row[ colIndex ] );
 		}
@@ -413,5 +413,5 @@
 			startColumn = cellInRow( map, startRow, firstCell );
 
-		if( mergeDirection )
+		if ( mergeDirection )
 		{
 			var targetCell;
@@ -434,5 +434,5 @@
 			// 1. No cell could be merged.
 			// 2. Same cell actually.
-			if( !targetCell || firstCell.$ == targetCell  )
+			if ( !targetCell || firstCell.$ == targetCell  )
 				return false;
 
@@ -471,8 +471,8 @@
 			{
 				// Trim all cell fillers and check to remove empty cells.
-				if( trimCell( cell ), cell.getChildren().count() )
+				if ( trimCell( cell ), cell.getChildren().count() )
 				{
 					// Merge vertically cells as two separated paragraphs.
-					if( rowIndex != lastRowIndex
+					if ( rowIndex != lastRowIndex
 						&& cellFirstChild
 						&& !( cellFirstChild.isBlockBoundary
@@ -480,5 +480,5 @@
 					{
 						var last = frag.getLast( CKEDITOR.dom.walker.whitespaces( true ) );
-						if( last && !( last.is && last.is( 'br' ) ) )
+						if ( last && !( last.is && last.is( 'br' ) ) )
 							frag.append( new CKEDITOR.dom.element( 'br' ) );
 					}
@@ -495,13 +495,13 @@
 			frag.moveChildren( firstCell );
 
-			if( !CKEDITOR.env.ie )
+			if ( !CKEDITOR.env.ie )
 				firstCell.appendBogus();
 
-			if( totalColSpan >= mapWidth )
+			if ( totalColSpan >= mapWidth )
 				firstCell.removeAttribute( 'rowSpan' );
 			else
 				firstCell.$.rowSpan = totalRowSpan;
 
-			if( totalRowSpan >= mapHeight )
+			if ( totalRowSpan >= mapHeight )
 				firstCell.removeAttribute( 'colSpan' );
 			else
@@ -515,5 +515,5 @@
 			{
 				var tailTr = trs.getItem( i );
-				if( !tailTr.$.cells.length )
+				if ( !tailTr.$.cells.length )
 				{
 					tailTr.remove();
@@ -534,7 +534,7 @@
 	{
 		var cells = getSelectedCells( selection );
-		if( cells.length > 1 )
+		if ( cells.length > 1 )
 			return false;
-		else if( isDetect )
+		else if ( isDetect )
 			return true;
 
@@ -551,5 +551,5 @@
 			newRowIndex;
 
-		if( rowSpan > 1 )
+		if ( rowSpan > 1 )
 		{
 			newRowSpan = Math.ceil( rowSpan / 2 );
@@ -567,5 +567,5 @@
 				candidateCell = newCellRow[ c ];
 				// Catch first cell actually following the column.
-				if( candidateCell.parentNode == newCellTr.$
+				if ( candidateCell.parentNode == newCellTr.$
 					&& c > colIndex )
 				{
@@ -578,5 +578,5 @@
 
 			// The destination row is empty, append at will.
-			if( !candidateCell )
+			if ( !candidateCell )
 				newCellTr.append( newCell, true );
 		}
@@ -594,12 +594,12 @@
 		}
 
-		if( !CKEDITOR.env.ie )
+		if ( !CKEDITOR.env.ie )
 			newCell.appendBogus();
 
 		cell.$.rowSpan = newRowSpan;
 		newCell.$.rowSpan = newCellRowSpan;
-		if( newRowSpan == 1 )
+		if ( newRowSpan == 1 )
 			cell.removeAttribute( 'rowSpan' );
-		if( newCellRowSpan == 1 )
+		if ( newCellRowSpan == 1 )
 			newCell.removeAttribute( 'rowSpan' );
 
@@ -610,7 +610,7 @@
 	{
 		var cells = getSelectedCells( selection );
-		if( cells.length > 1 )
+		if ( cells.length > 1 )
 			return false;
-		else if( isDetect )
+		else if ( isDetect )
 			return true;
 
@@ -626,5 +626,5 @@
 			newCellColSpan;
 
-		if( colSpan > 1 )
+		if ( colSpan > 1 )
 		{
 			newColSpan = Math.ceil( colSpan / 2 );
@@ -640,12 +640,12 @@
 		newCell = cell.clone();
 		newCell.insertAfter( cell );
-		if( !CKEDITOR.env.ie )
+		if ( !CKEDITOR.env.ie )
 			newCell.appendBogus();
 
 		cell.$.colSpan = newColSpan;
 		newCell.$.colSpan = newCellColSpan;
-		if( newColSpan == 1 )
+		if ( newColSpan == 1 )
 			cell.removeAttribute( 'colSpan' );
-		if( newCellColSpan == 1 )
+		if ( newCellColSpan == 1 )
 			newCell.removeAttribute( 'colSpan' );
 
Index: /CKEditor/trunk/_source/plugins/undo/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/undo/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/undo/plugin.js	(revision 5149)
@@ -142,5 +142,5 @@
 
 			// For IE6/7 : Comparing only the protected attribute values but not the original ones.(#4522)
-			if( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) )
+			if ( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) )
 			{
 				thisContents = thisContents.replace( protectedAttrs, '' );
@@ -148,5 +148,5 @@
 			}
 
-			if( thisContents != otherContents )
+			if ( thisContents != otherContents )
 				return false;
 
Index: /CKEditor/trunk/_source/plugins/wsc/dialogs/ciframe.html
===================================================================
--- /CKEditor/trunk/_source/plugins/wsc/dialogs/ciframe.html	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/wsc/dialogs/ciframe.html	(revision 5149)
@@ -17,5 +17,5 @@
 	var results = regex.exec( window.location.href ) ;
 
-	if( results )
+	if ( results )
 		return results[ 1 ] ;
 	else
Index: /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js	(revision 5148)
+++ /CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js	(revision 5149)
@@ -144,5 +144,5 @@
 	function restoreDirty( editor )
 	{
-		if( !editor.checkDirty() )
+		if ( !editor.checkDirty() )
 			setTimeout( function(){ editor.resetDirty(); } );
 	}
@@ -196,5 +196,5 @@
 			// If the fixed block is blank and already followed by a exitable
 			// block, we should revert the fix. (#3684)
-			if( fixedBlock.getOuterHtml().match( emptyParagraphRegexp ) )
+			if ( fixedBlock.getOuterHtml().match( emptyParagraphRegexp ) )
 			{
 				var previousElement = fixedBlock.getPrevious( isNotWhitespace ),
@@ -215,5 +215,5 @@
 			range.select();
 			// Notify non-IE that selection has changed.
-			if( !CKEDITOR.env.ie )
+			if ( !CKEDITOR.env.ie )
 				editor.selectionChange();
 		}
@@ -226,5 +226,5 @@
 		{
 			restoreDirty( editor );
-			if( !CKEDITOR.env.ie )
+			if ( !CKEDITOR.env.ie )
 				body.appendBogus();
 			else
@@ -418,5 +418,5 @@
 						// IE standard compliant in editing frame doesn't focus the editor when
 						// clicking outside actual content, manually apply the focus. (#1659)
-						if( CKEDITOR.env.ie
+						if ( CKEDITOR.env.ie
 							&& domDocument.$.compatMode == 'CSS1Compat' )
 						{
@@ -450,5 +450,5 @@
 										first = first.firstChild;
 
-									if( !first.nextSibling
+									if ( !first.nextSibling
 										&& ( 'BR' == first.tagName )
 										&& first.hasAttribute( '_moz_editor_bogus_node' ) )
@@ -510,10 +510,10 @@
 							// PageUp/PageDown scrolling is broken in document
 							// with standard doctype, manually fix it. (#4736)
-							if( domDocument.$.compatMode == 'CSS1Compat' )
+							if ( domDocument.$.compatMode == 'CSS1Compat' )
 							{
 								var pageUpDownKeys = { 33 : 1, 34 : 1 };
 								domDocument.on( 'keydown', function( evt )
 								{
-									if( evt.data.getKeystroke() in pageUpDownKeys )
+									if ( evt.data.getKeystroke() in pageUpDownKeys )
 									{
 										setTimeout( function ()
@@ -761,5 +761,5 @@
 
 			// Create an invisible element to grab focus.
-			if( CKEDITOR.env.ie )
+			if ( CKEDITOR.env.ie )
 			{
 				var ieFocusGrabber;
@@ -779,5 +779,5 @@
 
 	// Fixing Firefox 'Back-Forward Cache' break design mode. (#4514)
-	if( CKEDITOR.env.gecko )
+	if ( CKEDITOR.env.gecko )
 	{
 		( function ()
@@ -785,5 +785,5 @@
 			var body = document.body;
 
-			if( !body )
+			if ( !body )
 				window.addEventListener( 'load', arguments.callee, false );
 			else
@@ -800,5 +800,5 @@
 								editor = allInstances[ i ];
 								doc = editor.document;
-								if( doc )
+								if ( doc )
 								{
 									doc.$.designMode = 'off';
Index: /CKEditor/trunk/_source/skins/kama/skin.js
===================================================================
--- /CKEditor/trunk/_source/skins/kama/skin.js	(revision 5148)
+++ /CKEditor/trunk/_source/skins/kama/skin.js	(revision 5149)
@@ -94,5 +94,5 @@
 			{
 				var node = document.getById( uiColorStylesheetId );
-				if( !node )
+				if ( !node )
 				{
 					node = document.getHead().append( 'style' );
