diff --git a/lib/inliner.php b/lib/inliner.php index 9bf353c..3a12fd0 100644 --- a/lib/inliner.php +++ b/lib/inliner.php @@ -53,10 +53,7 @@ function minifyCss($css) { $css = str_replace(';}', '}', $css); // Remove spaces around colons - $css = str_replace(': ', ':', $css); - - // Remove spaces around commas - $css = str_replace(', ', ',', $css); + $css = str_replace(' ', '', $css); return trim($css); }