Ticket #1242: 1242.patch

File 1242.patch, 573 bytes (added by Frederico Caldeira Knabben, 16 years ago)
  • _source/includes/fckstringsprocessor.inc

     
    3232        function ProtectStrings( $source )
    3333        {
    3434                return preg_replace_callback(
    35                         '/(?:("|\').*?(?<!\\\\)\1|(?<![\/\\\\])\/[^\/\*].*?(?<!\\\\)\/)/',
     35                        '/(?:("|\').*?(?<!\\\\)\1)|(?:(?<![\*\/\\\\])\/[^\/\*].*?(?<!\\\\)\/(?!\s+[\w\d])(?=.*;))/',
    3636                        array( &$this, '_ProtectStringsMatch' ), $source ) ;
    3737        }
    3838
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy