From: alexlamsl Date: Thu, 4 Feb 2016 07:40:38 +0000 (+0800) Subject: fixes #445 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=bca4c5f61e72f3754e8ae84d23a752430bad8579;p=html-minifier.git fixes #445 --- diff --git a/cli.js b/cli.js index 43a60e5..a480568 100755 --- a/cli.js +++ b/cli.js @@ -83,7 +83,7 @@ var mainOptions = { minifyURLs: [[false, 'Minify URLs in various attributes (uses relateurl)']], ignoreCustomComments: [[false, 'Array of regex\'es that allow to ignore certain comments, when matched', 'string'], 'json-regex'], ignoreCustomFragments: [[false, 'Array of regex\'es that allow to ignore certain fragments, when matched (e.g. , {{ ... }})', 'string'], 'json-regex'], - processScripts: [[false, 'Array of strings corresponding to types of script elements to process through minifier (e.g. "text/ng-template", "text/x-handlebars-template", etc.)', 'string'], 'json-regex'], + processScripts: [[false, 'Array of strings corresponding to types of script elements to process through minifier (e.g. "text/ng-template", "text/x-handlebars-template", etc.)', 'string'], 'json'], maxLineLength: [[false, 'Max line length', 'number'], true], customEventAttributes: [[false, 'Arrays of regex\'es that allow to support custom event attributes for minifyJS (e.g. ng-click)', 'string'], 'json-regex'], customAttrAssign: [[false, 'Arrays of regex\'es that allow to support custom attribute assign expressions (e.g. \'
\')', 'string'], 'json-regex'],