forked from Adleraci/adlerka.top
test inlining
This commit is contained in:
parent
d94a66ca2b
commit
1ab5b5dc7c
@ -53,10 +53,7 @@ function minifyCss($css) {
|
|||||||
$css = str_replace(';}', '}', $css);
|
$css = str_replace(';}', '}', $css);
|
||||||
|
|
||||||
// Remove spaces around colons
|
// Remove spaces around colons
|
||||||
$css = str_replace(': ', ':', $css);
|
$css = str_replace(' ', '', $css);
|
||||||
|
|
||||||
// Remove spaces around commas
|
|
||||||
$css = str_replace(', ', ',', $css);
|
|
||||||
|
|
||||||
return trim($css);
|
return trim($css);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user