alexlamsl [Mon, 8 Feb 2016 05:10:51 +0000 (13:10 +0800)]
refactor removeEmptyElements
add more tests for clarification
alexlamsl [Mon, 8 Feb 2016 05:06:23 +0000 (13:06 +0800)]
handle variations of script type attributes
text/JavaScript;version=1.8
alexlamsl [Mon, 8 Feb 2016 05:01:47 +0000 (13:01 +0800)]
improve code reuse
alexlamsl [Mon, 8 Feb 2016 04:59:34 +0000 (12:59 +0800)]
update empty tag list
Juriy Zaytsev [Sun, 7 Feb 2016 22:11:28 +0000 (17:11 -0500)]
Merge pull request #487 from alexlamsl/gh-pages
fix minifyURLs command-line usage
alexlamsl [Sun, 7 Feb 2016 08:54:10 +0000 (16:54 +0800)]
update benchmark results
alexlamsl [Sun, 7 Feb 2016 08:53:55 +0000 (16:53 +0800)]
enable minifyURLs in benchmark.js
alexlamsl [Sun, 7 Feb 2016 08:29:16 +0000 (16:29 +0800)]
fix minifyURLs in command-line usage
since it is defined as a boolean parameter, this option never worked
Juriy Zaytsev [Fri, 5 Feb 2016 19:45:52 +0000 (14:45 -0500)]
Merge pull request #485 from alexlamsl/gh-pages
cli fixes
alexlamsl [Fri, 5 Feb 2016 19:34:06 +0000 (03:34 +0800)]
fixes #428
alexlamsl [Fri, 5 Feb 2016 19:32:26 +0000 (03:32 +0800)]
fix cli error reporting
it was attempting to write the error object onto stderr, which errs out by itself and masked the original error and stack trace
alexlamsl [Fri, 5 Feb 2016 19:30:33 +0000 (03:30 +0800)]
fix corner case when merging whitespace from across comment block
Juriy Zaytsev [Fri, 5 Feb 2016 19:09:31 +0000 (14:09 -0500)]
Merge pull request #484 from alexlamsl/gh-pages
fix issues with whitespaces and comments
alexlamsl [Fri, 5 Feb 2016 18:38:42 +0000 (02:38 +0800)]
improve collapseWhitespace when removeComments is active
alexlamsl [Fri, 5 Feb 2016 18:23:11 +0000 (02:23 +0800)]
update devDependencies
alexlamsl [Fri, 5 Feb 2016 18:16:09 +0000 (02:16 +0800)]
improve minification of whitespaces around comments
fixes #215
alexlamsl [Fri, 5 Feb 2016 17:34:46 +0000 (01:34 +0800)]
rearrange order of minification
alexlamsl [Fri, 5 Feb 2016 17:23:50 +0000 (01:23 +0800)]
treat comments similarly as inline tags and be conservative with whitespace removal
fixes #346
alexlamsl [Fri, 5 Feb 2016 16:34:13 +0000 (00:34 +0800)]
improve compatibility with IE<9
Juriy Zaytsev [Thu, 4 Feb 2016 20:57:41 +0000 (15:57 -0500)]
Merge pull request #481 from alexlamsl/gh-pages
Misc fixes
Juriy Zaytsev [Thu, 4 Feb 2016 20:31:08 +0000 (15:31 -0500)]
Merge pull request #482 from gdub22/input-dir-fix
fix cli input-dir only processing first file
alexlamsl [Thu, 4 Feb 2016 20:30:31 +0000 (04:30 +0800)]
improve performance by key lookup rather than Array.indexOf()
alexlamsl [Thu, 4 Feb 2016 20:05:30 +0000 (04:05 +0800)]
clarify minification logic
alexlamsl [Thu, 4 Feb 2016 19:56:09 +0000 (03:56 +0800)]
consolidate conf files
Garth Poitras [Thu, 4 Feb 2016 18:24:29 +0000 (13:24 -0500)]
fix cli input-dir only processing first file
alexlamsl [Thu, 4 Feb 2016 17:18:19 +0000 (01:18 +0800)]
simplify logical expressions
a | (!a & (b | c)) --> a | b | c
!a ? b : c --> a ? c : b
alexlamsl [Thu, 4 Feb 2016 17:16:40 +0000 (01:16 +0800)]
update tag list for tests
alexlamsl [Thu, 4 Feb 2016 16:47:02 +0000 (00:47 +0800)]
reduce workload on preserveLineBreaks
alexlamsl [Thu, 4 Feb 2016 10:56:48 +0000 (18:56 +0800)]
remove magic constant
alexlamsl [Thu, 4 Feb 2016 10:34:03 +0000 (18:34 +0800)]
improve whitespace removal when preserveLineBreaks is used but not matched
alexlamsl [Thu, 4 Feb 2016 10:03:36 +0000 (18:03 +0800)]
fix interaction between collapseWhitespace and removeEmptyElements
alexlamsl [Thu, 4 Feb 2016 09:33:33 +0000 (17:33 +0800)]
fix interaction between conservativeCollapse and preserveLineBreaks
alexlamsl [Thu, 4 Feb 2016 08:14:44 +0000 (16:14 +0800)]
fixes #359
alexlamsl [Thu, 4 Feb 2016 08:07:18 +0000 (16:07 +0800)]
fixes #476
alexlamsl [Thu, 4 Feb 2016 07:59:19 +0000 (15:59 +0800)]
fixes #463
alexlamsl [Thu, 4 Feb 2016 07:42:20 +0000 (15:42 +0800)]
fixes #431
alexlamsl [Thu, 4 Feb 2016 07:40:38 +0000 (15:40 +0800)]
fixes #445
alexlamsl [Thu, 4 Feb 2016 07:38:54 +0000 (15:38 +0800)]
fixes #368
Juriy Zaytsev [Tue, 2 Feb 2016 22:27:57 +0000 (17:27 -0500)]
Merge pull request #478 from alexlamsl/gh-pages
improve benchmarks
alexlamsl [Tue, 2 Feb 2016 11:25:45 +0000 (19:25 +0800)]
add LZMA to benchmark
alexlamsl [Tue, 2 Feb 2016 05:44:26 +0000 (13:44 +0800)]
add brotli to benchmark
alexlamsl [Mon, 1 Feb 2016 20:15:46 +0000 (04:15 +0800)]
add progress bar
alexlamsl [Mon, 1 Feb 2016 19:39:38 +0000 (03:39 +0800)]
improve code reuse
alexlamsl [Mon, 1 Feb 2016 18:59:49 +0000 (02:59 +0800)]
refactor functions
alexlamsl [Mon, 1 Feb 2016 18:02:07 +0000 (02:02 +0800)]
insert some comments
alexlamsl [Mon, 1 Feb 2016 17:43:59 +0000 (01:43 +0800)]
removed es6-draft
alexlamsl [Mon, 1 Feb 2016 17:40:46 +0000 (01:40 +0800)]
added Will Peavy and htmlcompressor.com
alexlamsl [Mon, 1 Feb 2016 17:38:06 +0000 (01:38 +0800)]
rearrange options in alphabetical order
alexlamsl [Mon, 1 Feb 2016 09:36:16 +0000 (17:36 +0800)]
improve benchmark.js
- use internal zlib instead of external gzip command
- perform gzip on Minimized output
- incorporate Minimize results into table
alexlamsl [Mon, 1 Feb 2016 09:19:28 +0000 (17:19 +0800)]
restore disabled tests
alexlamsl [Mon, 1 Feb 2016 09:16:05 +0000 (17:16 +0800)]
update dependencies
Juriy Zaytsev [Mon, 1 Feb 2016 06:12:28 +0000 (01:12 -0500)]
Merge pull request #477 from alexlamsl/gh-pages
fixes for htmlmin:ignore and ignoreCustomFragments
alexlamsl [Sun, 31 Jan 2016 07:06:10 +0000 (15:06 +0800)]
suppress removeEmptyElements from safe options on web interface
alexlamsl [Sun, 31 Jan 2016 06:20:37 +0000 (14:20 +0800)]
fix interactions between ignore fragments and comments
fixes #436
fixes #442
alexlamsl [Sun, 31 Jan 2016 06:18:39 +0000 (14:18 +0800)]
add ignoreCustomFragments to command-line
fixes #464
Juriy Zaytsev [Fri, 29 Jan 2016 05:12:26 +0000 (00:12 -0500)]
Merge pull request #474 from alexlamsl/gh-pages
unwind currentTag
alexlamsl [Thu, 28 Jan 2016 22:17:03 +0000 (06:17 +0800)]
improve test case
alexlamsl [Thu, 28 Jan 2016 09:05:53 +0000 (17:05 +0800)]
unwind currentTag
fixes #435
Juriy Zaytsev [Thu, 28 Jan 2016 04:28:31 +0000 (23:28 -0500)]
Merge pull request #473 from alexlamsl/gh-pages
implement custom event attributes for minifyJs
alexlamsl [Wed, 27 Jan 2016 12:37:02 +0000 (20:37 +0800)]
implement customEventAttributes
fixes #412
alexlamsl [Wed, 27 Jan 2016 11:33:58 +0000 (19:33 +0800)]
add support for removeTagWhitespace on web and command line interfaces
Juriy Zaytsev [Mon, 25 Jan 2016 15:41:14 +0000 (10:41 -0500)]
Merge pull request #468 from alexlamsl/gh-pages
improve interaction of keepClosingSlash & removeAttributeQuotes
alexlamsl [Sat, 23 Jan 2016 19:12:56 +0000 (03:12 +0800)]
update dist files
alexlamsl [Sat, 23 Jan 2016 06:50:59 +0000 (14:50 +0800)]
add minimize to package.json
alexlamsl [Wed, 20 Jan 2016 12:21:47 +0000 (20:21 +0800)]
strips space between tag attributes
alexlamsl [Wed, 20 Jan 2016 10:44:43 +0000 (18:44 +0800)]
improve quote and escape
- avoid excessive attribute value character escaping
- choose between ' and " if quoteCharacter unspecified
alexlamsl [Tue, 19 Jan 2016 15:58:02 +0000 (23:58 +0800)]
fix `isLast` corner case
trailing attributes can be removed
alexlamsl [Tue, 19 Jan 2016 15:19:39 +0000 (23:19 +0800)]
avoid unnecessary work
alexlamsl [Tue, 19 Jan 2016 08:57:00 +0000 (16:57 +0800)]
improve interaction of keepClosingSlash & removeAttributeQuotes
Duncan Beevers [Fri, 15 Jan 2016 19:39:18 +0000 (13:39 -0600)]
Merge pull request #466 from pra85/2016
Update year range to 2016
Prayag Verma [Fri, 15 Jan 2016 18:45:04 +0000 (00:15 +0530)]
Update year range to 2016
XhmikosR [Wed, 6 Jan 2016 15:18:38 +0000 (17:18 +0200)]
Update clean-css to v3.4.9.
[ci skip]
XhmikosR [Wed, 6 Jan 2016 15:18:24 +0000 (17:18 +0200)]
Update grunt-jscs to v2.5.x.
Juriy Zaytsev [Tue, 5 Jan 2016 19:34:58 +0000 (11:34 -0800)]
Merge pull request #460 from isiahmeadows/patch-1
Fix #459
Isiah Meadows [Tue, 5 Jan 2016 19:07:26 +0000 (14:07 -0500)]
Allow `!= null`
Isiah Meadows [Tue, 5 Jan 2016 19:03:46 +0000 (14:03 -0500)]
Simplify code
Juriy Zaytsev [Tue, 5 Jan 2016 19:03:36 +0000 (11:03 -0800)]
Merge pull request #457 from Rycochet/patch-1
Add collapseInlineTagWhitespace to README.md
Isiah Meadows [Tue, 5 Jan 2016 18:37:13 +0000 (13:37 -0500)]
Fix #459
Ryc O'Chet [Tue, 5 Jan 2016 09:19:18 +0000 (09:19 +0000)]
Add collapseInlineTagWhitespace to README.md
Despite GitHub making this a larger diff, only a single line has been added and none changed.
Juriy Zaytsev [Mon, 4 Jan 2016 22:09:52 +0000 (14:09 -0800)]
Version 1.1.1
Juriy Zaytsev [Mon, 4 Jan 2016 22:08:26 +0000 (14:08 -0800)]
Merge pull request #456 from kangax/revert-433-issue381-svg
Revert "[In Progress] - SVG Minification using SVGO"
Juriy Zaytsev [Mon, 4 Jan 2016 22:08:11 +0000 (14:08 -0800)]
Revert "[In Progress] - SVG Minification using SVGO"
Juriy Zaytsev [Mon, 4 Jan 2016 21:50:34 +0000 (13:50 -0800)]
Version 1.1.0
Juriy Zaytsev [Mon, 4 Jan 2016 18:38:37 +0000 (10:38 -0800)]
Remove remaining bits of removeIgnored
Juriy Zaytsev [Tue, 29 Dec 2015 22:45:02 +0000 (17:45 -0500)]
Merge pull request #453 from marlun/patch-1
Fix move of cli.exit(status) outside of runMinifiy
Martin Lundberg [Tue, 29 Dec 2015 22:29:16 +0000 (23:29 +0100)]
Fix move of cli.exit(status) outside of runMinifiy
It seems like the call to `cli.exit(status)` was unconsciously moved outside of runMinify in a merge conflict (https://github.com/kangax/html-minifier/commit/
e17c9059feaa9487e4644cc144713a6944b176ab#diff-
2cce40143051e25f811b56c79d619bf5) which is causing a thrown error: "ReferenceError: status is not defined"
Juriy Zaytsev [Thu, 24 Dec 2015 16:43:45 +0000 (11:43 -0500)]
Merge pull request #433 from genintho/issue381-svg
[In Progress] - SVG Minification using SVGO
Juriy Zaytsev [Thu, 24 Dec 2015 16:40:29 +0000 (11:40 -0500)]
Merge pull request #440 from sapics/patch1
Add collapseInlineTagWhitespace option
Juriy Zaytsev [Thu, 24 Dec 2015 16:36:03 +0000 (11:36 -0500)]
Version 1.0.1
XhmikosR [Thu, 24 Dec 2015 16:35:37 +0000 (18:35 +0200)]
Travis CI: switch to "5".
XhmikosR [Thu, 24 Dec 2015 16:33:25 +0000 (18:33 +0200)]
Update assets.
clean-css 3.4.8, uglify-js 2.6.1.
[ci skip]
XhmikosR [Thu, 24 Dec 2015 16:32:44 +0000 (18:32 +0200)]
Update devDependencies.
Juriy Zaytsev [Mon, 21 Dec 2015 19:33:21 +0000 (14:33 -0500)]
Update README.md
sapics [Fri, 20 Nov 2015 23:56:54 +0000 (08:56 +0900)]
Add collapseInlineTagWhitespace option
Thomas Genin [Tue, 17 Nov 2015 23:45:20 +0000 (15:45 -0800)]
Add a test for SVG minification
Thomas Genin [Tue, 17 Nov 2015 23:16:16 +0000 (15:16 -0800)]
Merge branch 'gh-pages' of https://github.com/kangax/html-minifier into issue381-svg
Conflicts:
package.json
XhmikosR [Fri, 13 Nov 2015 16:07:19 +0000 (18:07 +0200)]
Update dependencies.
uglify-js 2.6.0, grunt-jscs 2.3.0.
XhmikosR [Fri, 13 Nov 2015 16:06:46 +0000 (18:06 +0200)]
Update .gitignore.
[ci skip]
XhmikosR [Fri, 13 Nov 2015 16:05:31 +0000 (18:05 +0200)]
Update Travis Ci to use `stable` and remove 0.12.
Thomas Genin [Wed, 11 Nov 2015 22:50:01 +0000 (14:50 -0800)]
Restore SVG into the common tag