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