From 1ab5b5dc7c90ffac38cbe4ac33c0e7531c11da5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sun, 4 Feb 2024 10:48:07 +0100 Subject: [PATCH] test inlining --- lib/inliner.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); }