Ticket #750: 750.patch

File 750.patch, 610 bytes (added by Wiktor Walc, 12 years ago)
  • editor/_source/internals/fckconfig.js

     
    170170FCKConfig.ProtectedSource.RegexEntries = [
    171171        // First of any other protection, we must protect all comments to avoid
    172172        // loosing them (of course, IE related).
    173         /<!--[\s\S]*?-->/g ,
     173        /<!--[^-][^-][^>]*-->\s*(?!<\/style>)/g ,
    174174
    175175        // Script tags will also be forced to be protected, otherwise IE will execute them.
    176176        /<script[\s\S]*?<\/script>/gi,
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy