Releases: kangax/html-minifier
Releases · kangax/html-minifier
1.3.1
Bug fixes
- behaviour mismatch on phrasing-content-only tags against web browsers (#557, #558, #559, #562, #565, #566, #577, #578)
cli.js
does not throwError
object (#564)cli.js
ignores-o <file>
when reading from STDIN (#561)htmlmin:ignore
&collapseWhitespace
gives erroneous output (#572, #574)webpack
cannot processhtml-minifier
sources due torequire()
usage (#568)collapseWhitespace
removes significant whitespace around font icons (#571)
Improvements
1.3.0
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 matchesignoreCustomFragments
(#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 andremoveEmptyElements
(#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
toeslint
(#554) grunt test
to cover browser tests (#537)