From: Jakub Vrana Date: Thu, 13 Mar 2025 17:00:54 +0000 (+0100) Subject: Compile: strip space after CSS comment X-Git-Tag: v5.0.5~2 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=85c6af6f87c94a487581c854fab4904b2b40e258;p=adminer.git Compile: strip space after CSS comment --- diff --git a/compile.php b/compile.php index c2615632..5ecb29b3 100755 --- a/compile.php +++ b/compile.php @@ -210,7 +210,7 @@ if (!$translations) { } function minify_css($file) { - return lzw_compress(preg_replace('~\s*([:;{},])\s*~', '\1', preg_replace('~/\*.*\*/~sU', '', $file))); + return lzw_compress(preg_replace('~\s*([:;{},])\s*~', '\1', preg_replace('~/\*.*?\*/\s*~s', '', $file))); } function minify_js($file) {