Ticket #3785: 3785.patch

File 3785.patch, 730 bytes (added by Tobiasz Cudnik, 15 years ago)

Quickfix

  • _source/plugins/dialog/plugin.js

     
    18871887                                        attributes.style = ( attributes.style ? ( attributes.style + '; ' ) : '' ) + styleStr.join( '; ' );
    18881888
    18891889                                // Write the attributes.
     1890                                var fixNbsp = / /g;
    18901891                                for ( i in attributes )
    1891                                         html.push( i + '="' + CKEDITOR.tools.htmlEncode( attributes[i] ) + '" ');
     1892                                        html.push( i + '="' + CKEDITOR.tools.htmlEncode( attributes[i] ).replace( fixNbsp, ' ' ) + '" ');
    18921893
    18931894                                // Write the content HTML.
    18941895                                html.push( '>', innerHTML, '</', nodeName, '>' );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy