test inlining
This commit is contained in:
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user