diff --git a/lib/inliner.php b/lib/inliner.php index 3a12fd0..3456a38 100644 --- a/lib/inliner.php +++ b/lib/inliner.php @@ -72,7 +72,7 @@ function minifyJs($js) { $js = str_replace('function ', 'function', $js); // Remove spaces around operators - $js = preg_replace('/\s*([=+\-*/])\s*/', '$1', $js); + $js = preg_replace('~\s*([=+\-*/])\s*~', '$1', $js); return trim($js); } \ No newline at end of file