Ticket #1242: 1242.patch
File 1242.patch, 573 bytes (added by , 16 years ago) |
---|
-
_source/includes/fckstringsprocessor.inc
32 32 function ProtectStrings( $source ) 33 33 { 34 34 return preg_replace_callback( 35 '/(?:("|\').*?(?<!\\\\)\1 |(?<![\/\\\\])\/[^\/\*].*?(?<!\\\\)\/)/',35 '/(?:("|\').*?(?<!\\\\)\1)|(?:(?<![\*\/\\\\])\/[^\/\*].*?(?<!\\\\)\/(?!\s+[\w\d])(?=.*;))/', 36 36 array( &$this, '_ProtectStringsMatch' ), $source ) ; 37 37 } 38 38