Ticket #5930: 5930.patch

File 5930.patch, 758 bytes (added by Sa'ar Zac Elias, 14 years ago)
  • _source/plugins/htmldataprocessor/plugin.js

     
    240240        if ( CKEDITOR.env.ie )
    241241        {
    242242                // 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)
    244244                defaultHtmlFilterRules.attributes.style = function( value, element )
    245245                {
    246                         return value.toLowerCase();
     246                        return value.replace( /(?:(^\s*|;\s*)([^\:]+))/g, function( match, separator, name )
     247                                {
     248                                        return separator + name.toLowerCase();
     249                                });
    247250                };
    248251        }
    249252
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy