Ticket #5930: 5930.patch
File 5930.patch, 758 bytes (added by , 13 years ago) |
---|
-
_source/plugins/htmldataprocessor/plugin.js
240 240 if ( CKEDITOR.env.ie ) 241 241 { 242 242 // IE outputs style attribute in capital letters. We should convert 243 // them back to lower case .243 // them back to lower case, while not hurting the values (#5930) 244 244 defaultHtmlFilterRules.attributes.style = function( value, element ) 245 245 { 246 return value.toLowerCase(); 246 return value.replace( /(?:(^\s*|;\s*)([^\:]+))/g, function( match, separator, name ) 247 { 248 return separator + name.toLowerCase(); 249 }); 247 250 }; 248 251 } 249 252