Index: trunk/phase3/includes/libs/CSSMin.php |
— | — | @@ -82,7 +82,7 @@ |
83 | 83 | * @return string Remapped CSS data |
84 | 84 | */ |
85 | 85 | public static function remap( $source, $path, $embed = true ) { |
86 | | - $pattern = '/((?<embed>\s*\/\*\s*\@embed\s*\*\/)(?<rule>[^\;\}]*))?url\([\'"]?(?<file>[^\?\)\:]*)\??[^\)]*[\'"]?\)(?<extra>[^;]*)[\;]?/'; |
| 86 | + $pattern = '/((?<embed>\s*\/\*\s*\@embed\s*\*\/)(?<rule>[^\;\}]*))?url\([\'"]?(?<file>[^\?\)\:\'"]*)\??[^\)\'"]*[\'"]?\)(?<extra>[^;]*)[\;]?/'; |
87 | 87 | $offset = 0; |
88 | 88 | while ( preg_match( $pattern, $source, $match, PREG_OFFSET_CAPTURE, $offset ) ) { |
89 | 89 | // Shortcuts |