forked from Adleraci/adlerka.top
test inlining
This commit is contained in:
parent
4078b61fa8
commit
7ade5ce039
@ -46,7 +46,7 @@ function minifyCss($css) {
|
|||||||
//$css = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $css);
|
//$css = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $css);
|
||||||
|
|
||||||
// Remove whitespace
|
// Remove whitespace
|
||||||
$css = preg_replace('/\s+/', ' ', $css);
|
//$css = preg_replace('/\s+/', ' ', $css);
|
||||||
|
|
||||||
// Remove spaces around colons
|
// Remove spaces around colons
|
||||||
$css = str_replace(' ', '', $css);
|
$css = str_replace(' ', '', $css);
|
||||||
|
Loading…
Reference in New Issue
Block a user