Releases: kangax/html-minifier
Releases · kangax/html-minifier
2.1.6
Bug fixes
- spaces are removed around
<wbr>
(#666, #673)
2.1.5
Improvements
- update to
qunit
2.0.0 (#672)
2.1.4
Improvements
- update to
change-case
3.0.0
- update to
minimize
2.0.0
2.1.2
Bug fixes
- command-line tool not working under Node.js 0.10 (#653, #654)
- incorrect behaviours for
conservativeCollapse
& preserveLineBreaks
(#652, #655)
2.1.1
Bug fixes
- fix command line help text (fa59d3b)
- degraded performance when
sortAttributes
or sortClassName
is used (#651)
Improvements
- use native Stream API (#648)
2.1.0
Bug fixes
collapseWhitespace
causes whitespace to shift around htmlmin:ignore
(#641, #644)
Improvements
2.0.0
Bug fixes
includeAutoGeneratedTags
& removeOptionalTags
removes meaningful content (#627, #629)
Improvements
benchmark.js
uses live web sites as input (#612, #617)
- minify URLs in embedded style sheets (#535, #625)
- add
collapseWhitespace
support for <nobr>
(#628, #630)
collapseWhitespace
now handles inter-tag trailing whitespace (#631)
options.lint
migrates to HTMLLint (#80, #633)
1.5.0
Bug fixes
- quote character of attribute with empty string value is parsed incorrectly (#603, #605)
Improvements
- HTMLLint now warns about missing doctype and repeating attributes (#15, #16, #593)
- new option
sortAttributes
reorders attributes for optimal compression (#4, #594, #613)
- new option
sortClassName
recorders style classes for optimal compression (#267, #597, #613)
- command-line tool now uses commander (#602)
removeScriptTypeAttributes
and removeStyleLinkTypeAttributes
cover wider range of cases (#607)
- new option
decodeEntities
minifies HTML Entity Characters (#75, #472, #608)
1.4.0
Bug fixes
- some inline tags have significant trailing whitespaces removed by
collapseWhitespace
(#581, #583)
- template text with trailing comment broke by
remove{Comments,CDATASections}FromCDATA
(#579, #586)
- cli.js cannot parse regex options from JSON file (#588)
Improvements
- convert to proper Node.js modules (#295, #569)
- add Bootstrap CSS to benchmarks (#587)