Skip to content

1.3.0

Compare
Choose a tag to compare
@kangax kangax released this 16 Mar 19:24
· 389 commits to gh-pages since this release

Bug fixes

  • messages cli.js (#498)
  • extraneous whitespace inserted by ignoreCustomFragments (#502, #505, #506, #509, #513, #545, #552)
  • removeOptionalTags on empty element crashes (#500, #508)
  • HTMLParser halts on malformed markups (#177, #332, #507, #510, #512, #542)
  • removeComments would give incorrect result if comment matches ignoreCustomFragments (#511, #515)
  • removeOptionalTags too aggressive around non-HTML tags (#503, #514)
  • incorrect collapseWhitespace within inline tags (#519)
  • removeTagWhitespace does not work on the web (#528)
  • cli cannot handle nested directories (#532, #533)
  • removeEmptyElements always remove <iframe>, <audo> & <video> (#536, #538, #539)
  • incorrect auto-closing of tags which permits phrasing content only (#541)
  • extraneous whitespace inserted in attributes around custom fragments (#551, #553)
  • minifyJS does not work the same way on the web (#531)

Improvements

  • minification of contents within conditional comments (#524)
  • collapseWhitespace around comments and removeEmptyElements (#525)
  • clean up <script type="..."> (#521)
  • support parsing of non-conventional attributes (#289, #534, #542)
  • general performance (#520, #522)
  • don't inject tags generated by HTML parser (#540)
  • support parsing of non-standard tag names (#248, #543)
  • migrate from jscs & jshint to eslint (#554)
  • grunt test to cover browser tests (#537)