Skip to content

Releases: kangax/html-minifier

2.1.6

25 Jun 05:17
Compare
Choose a tag to compare

Bug fixes

  • spaces are removed around <wbr> (#666, #673)

2.1.5

18 Jun 15:46
Compare
Choose a tag to compare

Improvements

  • update to qunit 2.0.0 (#672)

2.1.4

16 Jun 11:54
Compare
Choose a tag to compare

Improvements

  • update to change-case 3.0.0
  • update to minimize 2.0.0

2.1.3

14 May 15:26
Compare
Choose a tag to compare

Improvements

  • update to he 1.1.0

2.1.2

02 May 13:06
Compare
Choose a tag to compare

Bug fixes

  • command-line tool not working under Node.js 0.10 (#653, #654)
  • incorrect behaviours for conservativeCollapse & preserveLineBreaks (#652, #655)

2.1.1

01 May 19:41
Compare
Choose a tag to compare

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

23 Apr 10:41
Compare
Choose a tag to compare

Bug fixes

  • collapseWhitespace causes whitespace to shift around htmlmin:ignore (#641, #644)

Improvements

2.0.0

19 Apr 05:20
Compare
Choose a tag to compare

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

09 Apr 07:49
Compare
Choose a tag to compare

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

31 Mar 04:03
Compare
Choose a tag to compare

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)