diff --git a/lib/inliner.php b/lib/inliner.php index de3dff0..8ee1d41 100644 --- a/lib/inliner.php +++ b/lib/inliner.php @@ -63,9 +63,6 @@ function minifyJs($js) { // Remove newlines and tabs $js = str_replace(array("\r\n", "\r", "\n", "\t"), '', $js); - // Remove unnecessary semicolons - $js = str_replace(';}', '}', $js); - // Remove spaces around operators $js = preg_replace('~\s*([=+\-*/])\s*~', '$1', $js);