diff --git a/lib/inliner.php b/lib/inliner.php index 5c078f8..676a2be 100644 --- a/lib/inliner.php +++ b/lib/inliner.php @@ -43,14 +43,11 @@ function inlineScriptFromSrc($inputString) { function minifyCss($css) { // Remove comments - $css = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $css); + //$css = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $css); // Remove whitespace $css = preg_replace('/\s+/', ' ', $css); - // Remove unnecessary semicolons - $css = str_replace(';}', '}', $css); - // Remove spaces around colons $css = str_replace(' ', '', $css);