Ticket #5128: 5128.patch

File 5128.patch, 514 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/styles/plugin.js

     
    766766                                } );
    767767
    768768                var pres = [];
    769                 splitedHtml.replace( /<pre>([\s\S]*?)<\/pre>/gi, function( match, preContent ){
     769                splitedHtml.replace( /<pre\b.*?>([\s\S]*?)<\/pre>/gi, function( match, preContent ){
    770770                        pres.push( preContent );
    771771                } );
    772772                return pres;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy