From 42c34540943bb9d6061eed54aa1f2789ed4e59e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sun, 4 Feb 2024 10:48:42 +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 3a12fd0..3456a38 100644 --- a/lib/inliner.php +++ b/lib/inliner.php @@ -72,7 +72,7 @@ function minifyJs($js) { $js = str_replace('function ', 'function', $js); // Remove spaces around operators - $js = preg_replace('/\s*([=+\-*/])\s*/', '$1', $js); + $js = preg_replace('~\s*([=+\-*/])\s*~', '$1', $js); return trim($js); } \ No newline at end of file