Index: _source/plugins/htmldataprocessor/plugin.js
===================================================================
--- _source/plugins/htmldataprocessor/plugin.js (revision 3593)
+++ _source/plugins/htmldataprocessor/plugin.js (working copy)
@@ -21,6 +21,17 @@
]
};
+ /**
+ * IE sucks with dynamic 'name' attribute after element is created, '_cke_saved_name' is used instead for this attribute.
+ */
+ var removeName = function( element )
+ {
+ var attribs = element.attributes;
+
+ if ( attribs._cke_saved_name )
+ delete attribs.name;
+ };
+
var defaultHtmlFilterRules =
{
elementNames :
@@ -72,16 +83,8 @@
delete attribs.href;
},
- /**
- * IE sucks with dynamic 'name' attribute after element is created, '_cke_saved_name' is used instead for this attribute.
- */
- input : function( element )
- {
- var attribs = element.attributes;
-
- if ( attribs._cke_saved_name )
- delete attribs.name;
- }
+ input : removeName,
+ form : removeName
},
attributes :