"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cli.js" between
html-minifier-3.6.0.tar.gz and html-minifier-4.0.0.tar.gz

About: html-minifier is a configurable Javascript-based HTML compressor/minifier (with Node.js support).

cli.js  (html-minifier-3.6.0):cli.js  (html-minifier-4.0.0)
skipping to change at line 106 skipping to change at line 106
function parseString(value) { function parseString(value) {
return value; return value;
} }
var mainOptions = { var mainOptions = {
caseSensitive: 'Treat attributes in case sensitive manner (useful for SVG; e.g . viewBox)', caseSensitive: 'Treat attributes in case sensitive manner (useful for SVG; e.g . viewBox)',
collapseBooleanAttributes: 'Omit attribute values from boolean attributes', collapseBooleanAttributes: 'Omit attribute values from boolean attributes',
collapseInlineTagWhitespace: 'Collapse white space around inline tag', collapseInlineTagWhitespace: 'Collapse white space around inline tag',
collapseWhitespace: 'Collapse white space that contributes to text nodes in a document tree.', collapseWhitespace: 'Collapse white space that contributes to text nodes in a document tree.',
conservativeCollapse: 'Always collapse to 1 space (never remove it entirely)', conservativeCollapse: 'Always collapse to 1 space (never remove it entirely)',
continueOnParseError: 'Handle parse errors instead of aborting',
customAttrAssign: ['Arrays of regex\'es that allow to support custom attribute assign expressions (e.g. \'<div flex?="{{mode != cover}}"></div>\')', parseJSON RegExpArray], customAttrAssign: ['Arrays of regex\'es that allow to support custom attribute assign expressions (e.g. \'<div flex?="{{mode != cover}}"></div>\')', parseJSON RegExpArray],
customAttrCollapse: ['Regex that specifies custom attribute to strip newlines from (e.g. /ng-class/)', parseRegExp], customAttrCollapse: ['Regex that specifies custom attribute to strip newlines from (e.g. /ng-class/)', parseRegExp],
customAttrSurround: ['Arrays of regex\'es that allow to support custom attribu te surround expressions (e.g. <input {{#if value}}checked="checked"{{/if}}>)', p arseJSONRegExpArray], customAttrSurround: ['Arrays of regex\'es that allow to support custom attribu te surround expressions (e.g. <input {{#if value}}checked="checked"{{/if}}>)', p arseJSONRegExpArray],
customEventAttributes: ['Arrays of regex\'es that allow to support custom even t attributes for minifyJS (e.g. ng-click)', parseJSONRegExpArray], customEventAttributes: ['Arrays of regex\'es that allow to support custom even t attributes for minifyJS (e.g. ng-click)', parseJSONRegExpArray],
decodeEntities: 'Use direct Unicode characters whenever possible', decodeEntities: 'Use direct Unicode characters whenever possible',
html5: 'Parse input according to HTML5 specifications', html5: 'Parse input according to HTML5 specifications',
ignoreCustomComments: ['Array of regex\'es that allow to ignore certain commen ts, when matched', parseJSONRegExpArray], ignoreCustomComments: ['Array of regex\'es that allow to ignore certain commen ts, when matched', parseJSONRegExpArray],
ignoreCustomFragments: ['Array of regex\'es that allow to ignore certain fragm ents, when matched (e.g. <?php ... ?>, {{ ... }})', parseJSONRegExpArray], ignoreCustomFragments: ['Array of regex\'es that allow to ignore certain fragm ents, when matched (e.g. <?php ... ?>, {{ ... }})', parseJSONRegExpArray],
includeAutoGeneratedTags: 'Insert tags generated by HTML parser', includeAutoGeneratedTags: 'Insert tags generated by HTML parser',
keepClosingSlash: 'Keep the trailing slash on singleton elements', keepClosingSlash: 'Keep the trailing slash on singleton elements',
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)