Ticket #6595: 6595.patch

File 6595.patch, 704 bytes (added by Paweł Horzela, 13 years ago)

Patch

  • _source/plugins/pastefromword/filter/default.js

     
    10951095
    10961096        CKEDITOR.cleanWord = function( data, editor )
    10971097        {
     1098                // #6595: Paste from Word floods line-breaks in IE9
     1099                if ( CKEDITOR.env.ie && CKEDITOR.env.version == 9 )
     1100                        data = data.replace( /<br>&nbsp; |<br>/gi, '' );
     1101               
    10981102                // Firefox will be confused by those downlevel-revealed IE conditional
    10991103                // comments, fixing them first( convert it to upperlevel-revealed one ).
    11001104                // e.g. <![if !vml]>...<![endif]>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy