From c66ca9e8ac7362bac22162b9c14f4e5e1a5c9e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sun, 4 Feb 2024 11:05:14 +0100 Subject: [PATCH] test inlining --- lib/inliner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/inliner.php b/lib/inliner.php index 7a41f51..058a4fa 100644 --- a/lib/inliner.php +++ b/lib/inliner.php @@ -59,7 +59,7 @@ function minifyCss($css) { function minifyJs($js) { // Remove newlines and tabs - $js = str_replace(array(" ", "\t"), '', $js); + $js = str_replace("\t", '', $js); // Remove spaces around operators //$js = preg_replace('~\s*([=+\-*/])\s*~', '$1', $js);