Ticket #9137: 9137.patch

File 9137.patch, 572 bytes (added by fujikawa.naoki, 13 years ago)
  • plugin.js

     
    10661066
    10671067                                                                        // The base must be the first tag in the HEAD, e.g. to get relative
    10681068                                                                        // links on styles.
    1069                                                                         baseTag && ( data = data.replace( /<head>/, '$&' + baseTag ) );
     1069
     1070                                                                        baseTag && ( data = data.replace( /<head[^/>]*?>/, '$&' + baseTag ) );
    10701071
    10711072                                                                        // Inject the extra stuff into <head>.
    10721073                                                                        // Attention: do not change it before testing it well. (V2)
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy