Ticket #4512: 4512_2.patch

File 4512_2.patch, 629 bytes (added by Garry Yao, 15 years ago)
  • _source/plugins/styles/plugin.js

     
    267267                        stylesText = stylesText.replace( semicolonFixRegex, ';' );
    268268
    269269                for ( var style in stylesDef )
    270                         stylesText += style + ':' + stylesDef[ style ] + ';';
     270                        stylesText += ( style + ':' + stylesDef[ style ] ).replace( semicolonFixRegex, ';' );
    271271
    272272                // Browsers make some changes to the style when applying them. So, here
    273273                // we normalize it to the browser format.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy