html-minifier.git
7 years agoMerge pull request #819 from papandreou/patch-1
Alex Lam S.L [Sat, 27 May 2017 09:07:14 +0000 (17:07 +0800)]
Merge pull request #819 from papandreou/patch-1

Fix typo in comment (sorry for introducing it!)

7 years agoFix typo in comment (sorry for introducing it!)
Andreas Lind [Sat, 27 May 2017 09:00:29 +0000 (11:00 +0200)]
Fix typo in comment (sorry for introducing it!)

7 years agoVersion 3.5.2
alexlamsl [Thu, 25 May 2017 09:20:22 +0000 (17:20 +0800)]
Version 3.5.2

7 years agoMerge pull request #817 from papandreou/fix/whitespaceStackHousekeeping
Alex Lam S.L [Thu, 25 May 2017 07:00:21 +0000 (15:00 +0800)]
Merge pull request #817 from papandreou/fix/whitespaceStackHousekeeping

Fix stackNoTrimWhitespace and stackNoCollapseWhitespace housekeeping

7 years agoFix stackNoTrimWhitespace and stackNoCollapseWhitespace housekeeping
Andreas Lind [Wed, 24 May 2017 13:26:49 +0000 (15:26 +0200)]
Fix stackNoTrimWhitespace and stackNoCollapseWhitespace housekeeping

Previously the first encountered end tag matching the top item would
clear it from the stack, regardless of whether the two were actually
a start + end pair.

7 years agoVersion 3.5.1
alexlamsl [Mon, 22 May 2017 13:30:58 +0000 (21:30 +0800)]
Version 3.5.1

7 years agoMerge pull request #813 from papandreou/fix/canCollapseAndTrimWhitespaceHooks
Alex Lam S.L [Mon, 22 May 2017 13:10:29 +0000 (21:10 +0800)]
Merge pull request #813 from papandreou/fix/canCollapseAndTrimWhitespaceHooks

Add the ability for options.can{Trim,Collapse}Whitespace to veto the default implementation when that returns true.

7 years agoAdd the ability for options.can{Trim,Collapse}Whitespace to veto the default implemen...
Andreas Lind [Mon, 22 May 2017 10:19:28 +0000 (12:19 +0200)]
Add the ability for options.can{Trim,Collapse}Whitespace to veto the default implementation when that returns true.

Also, provide the default implementation as the 3rd parameter to the
custom hook so the user doesn't have to reimplement it.

7 years agoMerge pull request #811 from papandreou/fix/consoleLogWhenTesting
Alex Lam S.L [Mon, 22 May 2017 08:55:33 +0000 (16:55 +0800)]
Merge pull request #811 from papandreou/fix/consoleLogWhenTesting

grunt qunit: Don't break in JSON.parse when debug output is generated while running the test suite

7 years agogrunt qunit: Don't break in JSON.parse when debug output is generated while running...
Andreas Lind [Mon, 22 May 2017 07:17:18 +0000 (09:17 +0200)]
grunt qunit: Don't break in JSON.parse when debug output is generated while running the test suite

7 years agoVersion 3.5.0
alexlamsl [Mon, 15 May 2017 20:06:16 +0000 (04:06 +0800)]
Version 3.5.0

7 years agoMerge pull request #809 from kangax/uglify-v3
Alex Lam S.L [Mon, 15 May 2017 19:35:12 +0000 (03:35 +0800)]
Merge pull request #809 from kangax/uglify-v3

upgrade to uglify-js 3.0.5

7 years agoupgrade to uglify-js 3.0.5
alexlamsl [Mon, 15 May 2017 19:26:18 +0000 (03:26 +0800)]
upgrade to uglify-js 3.0.5
bump to clean-css 4.1.2

7 years agoVersion 3.4.4
alexlamsl [Sat, 6 May 2017 12:34:59 +0000 (20:34 +0800)]
Version 3.4.4

7 years agoMerge pull request #807 from kangax/issue-805
Alex Lam S.L [Sat, 6 May 2017 12:12:36 +0000 (20:12 +0800)]
Merge pull request #807 from kangax/issue-805

fix `sortClassName` on custom fragments

7 years agomore tests
alexlamsl [Sat, 6 May 2017 11:52:46 +0000 (19:52 +0800)]
more tests

7 years agofix `sortClassName` on custom fragments
alexlamsl [Sat, 6 May 2017 10:56:58 +0000 (18:56 +0800)]
fix `sortClassName` on custom fragments
Prefer sub-optimal sort over extraneous whitespaces.

fixes #805

7 years agoVersion 3.4.3
alexlamsl [Sun, 9 Apr 2017 07:37:10 +0000 (15:37 +0800)]
Version 3.4.3

7 years agoadjust minifyJS options
alexlamsl [Sun, 9 Apr 2017 07:10:48 +0000 (15:10 +0800)]
adjust minifyJS options
`inline_script` now enabled by default

7 years agoupdate dependencies
alexlamsl [Sun, 9 Apr 2017 07:09:45 +0000 (15:09 +0800)]
update dependencies
grunt-contrib-uglify 2.3.0
progress 2.0.0
uglify-js 2.8.22

7 years agoVersion 3.4.2
alexlamsl [Sun, 19 Mar 2017 06:37:47 +0000 (14:37 +0800)]
Version 3.4.2

7 years agoMerge pull request #796 from kangax/parser-nbsp
Alex Lam S.L [Sun, 19 Mar 2017 06:21:39 +0000 (14:21 +0800)]
Merge pull request #796 from kangax/parser-nbsp

parse whitespace attribute values properly

7 years agoparse whitespace attribute values properly
alexlamsl [Sun, 19 Mar 2017 06:13:04 +0000 (14:13 +0800)]
parse whitespace attribute values properly

7 years agoMerge pull request #795 from kangax/issue-794
Alex Lam S.L [Sun, 19 Mar 2017 05:09:35 +0000 (13:09 +0800)]
Merge pull request #795 from kangax/issue-794

avoid token overriding prototype members

7 years agoavoid token overriding prototype members
alexlamsl [Sun, 19 Mar 2017 05:04:34 +0000 (13:04 +0800)]
avoid token overriding prototype members

fixes #794

7 years agoVersion 3.4.1
alexlamsl [Mon, 13 Mar 2017 20:06:46 +0000 (04:06 +0800)]
Version 3.4.1

7 years agoupgrade dependencies
alexlamsl [Mon, 13 Mar 2017 19:28:10 +0000 (03:28 +0800)]
upgrade dependencies
grunt-contrib-uglify 2.2.0
minimize 2.1.0

7 years agoMerge pull request #793 from kangax/issue-792
Alex Lam S.L [Mon, 13 Mar 2017 19:27:15 +0000 (03:27 +0800)]
Merge pull request #793 from kangax/issue-792

fix minifyJS on event attributes

7 years agofix minifyJS on event attributes
alexlamsl [Mon, 13 Mar 2017 19:24:42 +0000 (03:24 +0800)]
fix minifyJS on event attributes
latest `uglify-js` has advanced side-effect-free optimisation which invalidates an old hack

fixes #792

7 years agoVersion 3.4.0
alexlamsl [Tue, 28 Feb 2017 14:30:00 +0000 (22:30 +0800)]
Version 3.4.0

7 years agoMerge pull request #789 from kangax/uglify-js-2.8.0
Alex Lam S.L [Tue, 28 Feb 2017 13:11:26 +0000 (21:11 +0800)]
Merge pull request #789 from kangax/uglify-js-2.8.0

uglify-js 2.8.0

7 years agoupgrade dependencies
alexlamsl [Tue, 28 Feb 2017 13:05:41 +0000 (21:05 +0800)]
upgrade dependencies
uglify-js 2.8.0

7 years agoVersion 3.3.3
alexlamsl [Sun, 19 Feb 2017 13:13:43 +0000 (21:13 +0800)]
Version 3.3.3

7 years agoMerge pull request #785 from kangax/collapseWhitespace-nbsp
Alex Lam S.L [Sun, 19 Feb 2017 12:55:33 +0000 (20:55 +0800)]
Merge pull request #785 from kangax/collapseWhitespace-nbsp

handle   better in collapseWhitespace

7 years agohandle   better in collapseWhitespace
alexlamsl [Sun, 19 Feb 2017 12:52:26 +0000 (20:52 +0800)]
handle   better in collapseWhitespace

7 years agoVersion 3.3.2
alexlamsl [Sun, 19 Feb 2017 12:20:31 +0000 (20:20 +0800)]
Version 3.3.2

7 years agoMerge pull request #784 from kangax/issue-777
Alex Lam S.L [Sun, 19 Feb 2017 12:07:51 +0000 (20:07 +0800)]
Merge pull request #784 from kangax/issue-777

handle whitespace around   correctly

7 years agohandle whitespace around   correctly
alexlamsl [Sun, 19 Feb 2017 12:03:48 +0000 (20:03 +0800)]
handle whitespace around   correctly

fixes #777

7 years agoVersion 3.3.1
alexlamsl [Wed, 8 Feb 2017 01:34:56 +0000 (09:34 +0800)]
Version 3.3.1

7 years agoMerge pull request #780 from kangax/issue-777
Alex Lam S.L [Wed, 8 Feb 2017 01:20:49 +0000 (09:20 +0800)]
Merge pull request #780 from kangax/issue-777

preserve non-breaking spaces during collapseWhitespace

7 years agopreserve non-breaking spaces during collapseWhitespace
alexlamsl [Wed, 8 Feb 2017 01:09:29 +0000 (09:09 +0800)]
preserve non-breaking spaces during collapseWhitespace
fixes #777
replaces #184

7 years agoVersion 3.3.0
alexlamsl [Tue, 24 Jan 2017 17:17:22 +0000 (01:17 +0800)]
Version 3.3.0

7 years agoMerge pull request #772 from kangax/clean-css-4
Alex Lam S.L [Tue, 24 Jan 2017 16:53:32 +0000 (00:53 +0800)]
Merge pull request #772 from kangax/clean-css-4

upgrade to clean-css 4.0

7 years agoupgrade dependencies
alexlamsl [Sun, 25 Dec 2016 02:36:23 +0000 (10:36 +0800)]
upgrade dependencies
clean-css 4.0.0

7 years agoVersion 3.2.3
alexlamsl [Thu, 24 Nov 2016 06:51:13 +0000 (14:51 +0800)]
Version 3.2.3

7 years agohandle errors from Will Peavy's HTML Minifier
alexlamsl [Thu, 24 Nov 2016 06:51:08 +0000 (14:51 +0800)]
handle errors from Will Peavy's HTML Minifier

7 years agomention default option values
alexlamsl [Thu, 24 Nov 2016 05:54:36 +0000 (13:54 +0800)]
mention default option values

7 years agoMerge pull request #760 from kangax/issue-757
Alex Lam S.L [Thu, 24 Nov 2016 05:48:47 +0000 (13:48 +0800)]
Merge pull request #760 from kangax/issue-757

retain attribute quotes around values containing custom fragments

7 years agoretain attribute quotes around values containing custom fragments
alexlamsl [Thu, 24 Nov 2016 05:45:51 +0000 (13:45 +0800)]
retain attribute quotes around values containing custom fragments
fixes #757

7 years agofix error propagation from worker
alexlamsl [Mon, 21 Nov 2016 08:54:40 +0000 (16:54 +0800)]
fix error propagation from worker

7 years agoMerge pull request #754 from kangax/issue-675
Alex Lam S.L [Sat, 19 Nov 2016 09:48:51 +0000 (17:48 +0800)]
Merge pull request #754 from kangax/issue-675

make options safe for structured cloning

7 years agomake options safe for structured cloning
alexlamsl [Sat, 19 Nov 2016 09:48:07 +0000 (17:48 +0800)]
make options safe for structured cloning

7 years agoMerge pull request #753 from kangax/issue-675
Alex Lam S.L [Sat, 19 Nov 2016 09:41:49 +0000 (17:41 +0800)]
Merge pull request #753 from kangax/issue-675

fix message passing

7 years agofix message passing
alexlamsl [Sat, 19 Nov 2016 09:41:04 +0000 (17:41 +0800)]
fix message passing

7 years agoMerge pull request #752 from kangax/issue-675
Alex Lam S.L [Sat, 19 Nov 2016 09:38:33 +0000 (17:38 +0800)]
Merge pull request #752 from kangax/issue-675

fix worker path

7 years agofix worker path
alexlamsl [Sat, 19 Nov 2016 09:37:32 +0000 (17:37 +0800)]
fix worker path

7 years agoMerge pull request #751 from kangax/issue-675
Alex Lam S.L [Sat, 19 Nov 2016 09:34:24 +0000 (17:34 +0800)]
Merge pull request #751 from kangax/issue-675

utilise Web Worker whenever available

7 years agocheck for existence of Worker
alexlamsl [Sat, 19 Nov 2016 09:30:35 +0000 (17:30 +0800)]
check for existence of Worker

7 years agoutilise Web Worker whenever available
alexlamsl [Sat, 19 Nov 2016 09:27:13 +0000 (17:27 +0800)]
utilise Web Worker whenever available
fixes #675

7 years agoMerge pull request #749 from kangax/travis-node-v7
Alex Lam S.L [Thu, 17 Nov 2016 18:48:36 +0000 (02:48 +0800)]
Merge pull request #749 from kangax/travis-node-v7

enable CI testing on Node.js v7

7 years agoenable CI testing on Node.js v7
alexlamsl [Thu, 17 Nov 2016 18:43:16 +0000 (02:43 +0800)]
enable CI testing on Node.js v7

7 years agoVersion 3.2.0
alexlamsl [Thu, 17 Nov 2016 12:07:51 +0000 (20:07 +0800)]
Version 3.2.0

7 years agoMerge pull request #744 from sxend/feature/custom-delete-attributes
Alex Lam S.L [Thu, 17 Nov 2016 10:25:37 +0000 (18:25 +0800)]
Merge pull request #744 from sxend/feature/custom-delete-attributes

remove additionally empty attributes

7 years agoremoveEmptyAttr predicate function
sxend [Thu, 17 Nov 2016 09:39:37 +0000 (18:39 +0900)]
removeEmptyAttr predicate function

7 years agoMerge pull request #736 from vlyahovich/feature/change-case-clean
Alex Lam S.L [Tue, 8 Nov 2016 08:38:50 +0000 (16:38 +0800)]
Merge pull request #736 from vlyahovich/feature/change-case-clean

Remove change-case from dependencies

7 years agoRemove change-case from dependencies
tarkus [Thu, 3 Nov 2016 11:14:29 +0000 (14:14 +0300)]
Remove change-case from dependencies

7 years agoVersion 3.1.1
alexlamsl [Sun, 6 Nov 2016 09:47:04 +0000 (17:47 +0800)]
Version 3.1.1

7 years agoMerge pull request #738 from kangax/issue-733
Alex Lam S.L [Sun, 6 Nov 2016 09:29:59 +0000 (17:29 +0800)]
Merge pull request #738 from kangax/issue-733

allow backreference usage in ignoreCustomFragments

7 years agoallow backreference usage in ignoreCustomFragments
alexlamsl [Sun, 6 Nov 2016 09:20:18 +0000 (17:20 +0800)]
allow backreference usage in ignoreCustomFragments
fixes #733

7 years agoMerge pull request #737 from kangax/fix-eslint
Alex Lam S.L [Sun, 6 Nov 2016 08:51:31 +0000 (16:51 +0800)]
Merge pull request #737 from kangax/fix-eslint

fix no-useless-escape warnings from eslint 3.9.1

7 years agofix no-useless-escape warnings from eslint 3.9.1
alexlamsl [Sun, 6 Nov 2016 08:47:44 +0000 (16:47 +0800)]
fix no-useless-escape warnings from eslint 3.9.1

7 years agoMerge pull request #729 from simontabor/patch-1
Alex Lam S.L [Fri, 7 Oct 2016 07:47:04 +0000 (15:47 +0800)]
Merge pull request #729 from simontabor/patch-1

Add clean-css advanced optimisations note

7 years agoAdd clean-css advanced optimisations note
Simon Tabor [Thu, 6 Oct 2016 20:50:58 +0000 (21:50 +0100)]
Add clean-css advanced optimisations note

7 years agoVersion 3.1.0
alexlamsl [Mon, 26 Sep 2016 02:26:34 +0000 (10:26 +0800)]
Version 3.1.0

7 years agoMerge pull request #723 from adamchal/issue-722
Alex Lam S.L [Sun, 25 Sep 2016 14:20:55 +0000 (22:20 +0800)]
Merge pull request #723 from adamchal/issue-722

introduce `trimCustomFragments` option
fixes #722

7 years agocollapseCustomFragments → trimCustomFragments; add more tests
Adam Chalemian [Sun, 25 Sep 2016 13:48:03 +0000 (09:48 -0400)]
collapseCustomFragments → trimCustomFragments; add more tests

7 years ago#722: introduce `collapseCustomFragments` option to collapse white space around ...
Adam Chalemian [Fri, 23 Sep 2016 18:29:33 +0000 (14:29 -0400)]
#722: introduce `collapseCustomFragments` option to collapse white space around `ignoreCustomFragments` (default: false).

8 years agomore tests for #720
alexlamsl [Thu, 22 Sep 2016 21:10:20 +0000 (05:10 +0800)]
more tests for #720

8 years agoMerge pull request #720 from kangax/minify-custom-fragments
Alex Lam S.L [Thu, 22 Sep 2016 15:12:24 +0000 (23:12 +0800)]
Merge pull request #720 from kangax/minify-custom-fragments

handle line-breaks around custom fragments gracefully

8 years agoadd tests for #713
alexlamsl [Thu, 22 Sep 2016 15:09:14 +0000 (23:09 +0800)]
add tests for #713

8 years agohandle line-breaks around custom fragments gracefully
alexlamsl [Wed, 21 Sep 2016 10:19:22 +0000 (18:19 +0800)]
handle line-breaks around custom fragments gracefully

8 years agoVersion 3.0.3
alexlamsl [Fri, 16 Sep 2016 06:52:29 +0000 (14:52 +0800)]
Version 3.0.3

8 years agoMerge pull request #715 from kangax/issue-713
Alex Lam S.L [Fri, 16 Sep 2016 06:25:07 +0000 (14:25 +0800)]
Merge pull request #715 from kangax/issue-713

trailing whitespace removal sometimes remove inter-attribute whitespace instead

8 years agomigrate to gruntify-eslint
alexlamsl [Fri, 16 Sep 2016 06:15:41 +0000 (14:15 +0800)]
migrate to gruntify-eslint

8 years agofix erroneous trailing whitespace detection
alexlamsl [Fri, 16 Sep 2016 06:14:42 +0000 (14:14 +0800)]
fix erroneous trailing whitespace detection
fixes #713

8 years agoupdate david-dm link
alexlamsl [Mon, 22 Aug 2016 21:08:03 +0000 (05:08 +0800)]
update david-dm link

8 years agoVersion 3.0.2
alexlamsl [Sat, 30 Jul 2016 15:24:51 +0000 (23:24 +0800)]
Version 3.0.2

8 years agoSwitch to the new Google Analytics snippet. (#701)
XhmikosR [Sat, 30 Jul 2016 14:53:37 +0000 (17:53 +0300)]
Switch to the new Google Analytics snippet. (#701)

Add an optional extended description…

8 years agoindex.html: specify `http-equiv="X-UA-Compatible"`.
XhmikosR [Sat, 30 Jul 2016 09:47:40 +0000 (12:47 +0300)]
index.html: specify `http-equiv="X-UA-Compatible"`.

8 years agoupgrade devDependencies (#700)
Alex Lam S.L [Sat, 30 Jul 2016 08:08:19 +0000 (17:08 +0900)]
upgrade devDependencies (#700)

grunt-contrib-uglify 2.0.0

8 years agofix interaction between htmlmin:ignore & ignoreCustomComments (#699)
Alex Lam S.L [Sat, 30 Jul 2016 07:58:35 +0000 (16:58 +0900)]
fix interaction between htmlmin:ignore & ignoreCustomComments (#699)

fixes #696

8 years agoVersion 3.0.1
alexlamsl [Sat, 9 Jul 2016 04:54:27 +0000 (12:54 +0800)]
Version 3.0.1

8 years agoavoid creating empty directories (#688)
Alex Lam S.L [Sat, 9 Jul 2016 04:37:52 +0000 (12:37 +0800)]
avoid creating empty directories (#688)

8 years agofix --input-dir when --file-ext is specified (#687)
Alex Lam S.L [Sat, 9 Jul 2016 04:12:16 +0000 (12:12 +0800)]
fix --input-dir when --file-ext is specified (#687)

fixes #686

8 years agoVersion 3.0.0
alexlamsl [Fri, 8 Jul 2016 07:26:36 +0000 (15:26 +0800)]
Version 3.0.0

8 years agoAdded --file-ext feature (#680)
ramonck [Fri, 8 Jul 2016 07:10:17 +0000 (04:10 -0300)]
Added --file-ext feature (#680)

Added --file-ext feature
fixes #665

8 years agoMerge pull request #683 from kangax/issue-682
Alex Lam S.L [Fri, 8 Jul 2016 07:07:38 +0000 (15:07 +0800)]
Merge pull request #683 from kangax/issue-682

drop support for Node.js 0.10

8 years agoupdate dependencies
alexlamsl [Fri, 8 Jul 2016 07:03:27 +0000 (15:03 +0800)]
update dependencies
uglify-js 2.7.0
grunt-eslint 19.0.0

8 years agodrop support for Node.js 0.10
alexlamsl [Sun, 3 Jul 2016 15:54:19 +0000 (23:54 +0800)]
drop support for Node.js 0.10
fixes #682

8 years agorevert grunt-eslint to 18.1.0
alexlamsl [Sun, 3 Jul 2016 16:20:56 +0000 (00:20 +0800)]
revert grunt-eslint to 18.1.0