diff --git a/src/JS.php b/src/JS.php index f3d2910..92389cd 100644 --- a/src/JS.php +++ b/src/JS.php @@ -345,7 +345,9 @@ class JS extends Minify array( '/('.implode('|', $operatorsBefore).')\s+/', '/\s+('.implode('|', $operatorsAfter).')/', - ), '\\1', $content + ), + '\\1', + $content ); // make sure + and - can't be mistaken for, or joined into ++ and -- @@ -353,7 +355,9 @@ class JS extends Minify array( '/(?