mirror of
https://github.com/mrclay/minify.git
synced 2025-08-18 03:41:35 +02:00
Issue 184 fix
This commit is contained in:
@@ -110,7 +110,7 @@ class Minify_YUICompressor {
|
||||
);
|
||||
$cmd = self::$javaExecutable . ' -jar ' . escapeshellarg(self::$jarFile)
|
||||
. " --type {$type}"
|
||||
. (preg_match('/^[a-zA-Z\\-]+$/', $o['charset'])
|
||||
. (preg_match('/^[a-zA-Z0-9\\-]+$/', $o['charset'])
|
||||
? " --charset {$o['charset']}"
|
||||
: '')
|
||||
. (is_numeric($o['line-break']) && $o['line-break'] >= 0
|
||||
|
Reference in New Issue
Block a user