test inlining

This commit is contained in:
Bruno Rybársky 2024-02-04 11:13:22 +01:00
parent 20588d48aa
commit 988b40e335

@ -48,8 +48,14 @@ function minifyCss($css) {
// Remove whitespace
$css = preg_replace('/\s+/', ' ', $css);
// Remove unnecessary semicolons
$css = str_replace(';}', '}', $css);
// Remove spaces around colons
//$css = str_replace(' ', '', $css);
$css = str_replace(': ', ':', $css);
// Remove spaces around commas
$css = str_replace(', ', ',', $css);
return trim($css);
}