1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-05 22:27:24 +02:00

Compile: strip space after CSS comment

This commit is contained in:
Jakub Vrana
2025-03-13 18:00:54 +01:00
parent 9226804aa2
commit 85c6af6f87

View File

@@ -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) {