JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.1.1
[ckeditor.git] / _source / core / htmlparser / element.js
index 2e9a9c3..69bacda 100644 (file)
@@ -114,7 +114,7 @@ CKEDITOR.htmlParser.element = function( name, attributes )
                         */\r
                        element.filterChildren = function()\r
                        {\r
-                               if( !isChildrenFiltered )\r
+                               if ( !isChildrenFiltered )\r
                                {\r
                                        var writer = new CKEDITOR.htmlParser.basicWriter();\r
                                        CKEDITOR.htmlParser.fragment.prototype.writeChildrenHtml.call( element, writer, filter );\r
@@ -171,13 +171,13 @@ CKEDITOR.htmlParser.element = function( name, attributes )
                        var attribsArray = [];\r
                        // Iterate over the attributes twice since filters may alter\r
                        // other attributes.\r
-                       for( var i = 0 ; i < 2; i++ )\r
+                       for ( var i = 0 ; i < 2; i++ )\r
                        {\r
                                for ( a in attributes )\r
                                {\r
                                        newAttrName = a;\r
                                        value = attributes[ a ];\r
-                                       if( i == 1 )\r
+                                       if ( i == 1 )\r
                                                attribsArray.push( [ a, value ] );\r
                                        else if ( filter )\r
                                        {\r
@@ -188,7 +188,7 @@ CKEDITOR.htmlParser.element = function( name, attributes )
                                                                delete attributes[ a ];\r
                                                                break;\r
                                                        }\r
-                                                       else if( newAttrName != a )\r
+                                                       else if ( newAttrName != a )\r
                                                        {\r
                                                                delete attributes[ a ];\r
                                                                a = newAttrName;\r
@@ -197,9 +197,9 @@ CKEDITOR.htmlParser.element = function( name, attributes )
                                                        else\r
                                                                break;\r
                                                }\r
-                                               if( newAttrName )\r
+                                               if ( newAttrName )\r
                                                {\r
-                                                       if( ( value = filter.onAttribute( element, newAttrName, value ) ) === false )\r
+                                                       if ( ( value = filter.onAttribute( element, newAttrName, value ) ) === false )\r
                                                                delete attributes[ newAttrName ];\r
                                                        else\r
                                                                attributes [ newAttrName ] = value;\r