html-minifier.git
8 years agoupdate dependencies
alexlamsl [Mon, 1 Feb 2016 09:16:05 +0000 (17:16 +0800)]
update dependencies

8 years agoMerge pull request #477 from alexlamsl/gh-pages
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

8 years agosuppress removeEmptyElements from safe options on web interface
alexlamsl [Sun, 31 Jan 2016 07:06:10 +0000 (15:06 +0800)]
suppress removeEmptyElements from safe options on web interface

8 years agofix interactions between ignore fragments and comments
alexlamsl [Sun, 31 Jan 2016 06:20:37 +0000 (14:20 +0800)]
fix interactions between ignore fragments and comments
fixes #436
fixes #442

8 years agoadd ignoreCustomFragments to command-line
alexlamsl [Sun, 31 Jan 2016 06:18:39 +0000 (14:18 +0800)]
add ignoreCustomFragments to command-line
fixes #464

8 years agoMerge pull request #474 from alexlamsl/gh-pages
Juriy Zaytsev [Fri, 29 Jan 2016 05:12:26 +0000 (00:12 -0500)]
Merge pull request #474 from alexlamsl/gh-pages

unwind currentTag

8 years agoimprove test case
alexlamsl [Thu, 28 Jan 2016 22:17:03 +0000 (06:17 +0800)]
improve test case

8 years agounwind currentTag
alexlamsl [Thu, 28 Jan 2016 09:05:53 +0000 (17:05 +0800)]
unwind currentTag
fixes #435

8 years agoMerge pull request #473 from alexlamsl/gh-pages
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

8 years agoimplement customEventAttributes
alexlamsl [Wed, 27 Jan 2016 12:37:02 +0000 (20:37 +0800)]
implement customEventAttributes
fixes #412

8 years agoadd support for removeTagWhitespace on web and command line interfaces
alexlamsl [Wed, 27 Jan 2016 11:33:58 +0000 (19:33 +0800)]
add support for removeTagWhitespace on web and command line interfaces

8 years agoMerge pull request #468 from alexlamsl/gh-pages
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

8 years agoupdate dist files
alexlamsl [Sat, 23 Jan 2016 19:12:56 +0000 (03:12 +0800)]
update dist files

8 years agoadd minimize to package.json
alexlamsl [Sat, 23 Jan 2016 06:50:59 +0000 (14:50 +0800)]
add minimize to package.json

8 years agostrips space between tag attributes
alexlamsl [Wed, 20 Jan 2016 12:21:47 +0000 (20:21 +0800)]
strips space between tag attributes

8 years agoimprove quote and escape
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

8 years agofix `isLast` corner case
alexlamsl [Tue, 19 Jan 2016 15:58:02 +0000 (23:58 +0800)]
fix `isLast` corner case
trailing attributes can be removed

8 years agoavoid unnecessary work
alexlamsl [Tue, 19 Jan 2016 15:19:39 +0000 (23:19 +0800)]
avoid unnecessary work

8 years agoimprove interaction of keepClosingSlash & removeAttributeQuotes
alexlamsl [Tue, 19 Jan 2016 08:57:00 +0000 (16:57 +0800)]
improve interaction of keepClosingSlash & removeAttributeQuotes

8 years agoMerge pull request #466 from pra85/2016
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

8 years agoUpdate year range to 2016
Prayag Verma [Fri, 15 Jan 2016 18:45:04 +0000 (00:15 +0530)]
Update year range to 2016

8 years agoUpdate clean-css to v3.4.9.
XhmikosR [Wed, 6 Jan 2016 15:18:38 +0000 (17:18 +0200)]
Update clean-css to v3.4.9.

[ci skip]

8 years agoUpdate grunt-jscs to v2.5.x.
XhmikosR [Wed, 6 Jan 2016 15:18:24 +0000 (17:18 +0200)]
Update grunt-jscs to v2.5.x.

8 years agoMerge pull request #460 from isiahmeadows/patch-1
Juriy Zaytsev [Tue, 5 Jan 2016 19:34:58 +0000 (11:34 -0800)]
Merge pull request #460 from isiahmeadows/patch-1

Fix #459

8 years agoAllow `!= null`
Isiah Meadows [Tue, 5 Jan 2016 19:07:26 +0000 (14:07 -0500)]
Allow `!= null`

8 years agoSimplify code
Isiah Meadows [Tue, 5 Jan 2016 19:03:46 +0000 (14:03 -0500)]
Simplify code

8 years agoMerge pull request #457 from Rycochet/patch-1
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

8 years agoFix #459
Isiah Meadows [Tue, 5 Jan 2016 18:37:13 +0000 (13:37 -0500)]
Fix #459

8 years agoAdd collapseInlineTagWhitespace to README.md
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.

8 years agoVersion 1.1.1
Juriy Zaytsev [Mon, 4 Jan 2016 22:09:52 +0000 (14:09 -0800)]
Version 1.1.1

8 years agoMerge pull request #456 from kangax/revert-433-issue381-svg
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"

8 years agoRevert "[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"

8 years agoVersion 1.1.0
Juriy Zaytsev [Mon, 4 Jan 2016 21:50:34 +0000 (13:50 -0800)]
Version 1.1.0

8 years agoRemove remaining bits of removeIgnored
Juriy Zaytsev [Mon, 4 Jan 2016 18:38:37 +0000 (10:38 -0800)]
Remove remaining bits of removeIgnored

8 years agoMerge pull request #453 from marlun/patch-1
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

8 years agoFix 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"

8 years agoMerge pull request #433 from genintho/issue381-svg
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

8 years agoMerge pull request #440 from sapics/patch1
Juriy Zaytsev [Thu, 24 Dec 2015 16:40:29 +0000 (11:40 -0500)]
Merge pull request #440 from sapics/patch1

Add collapseInlineTagWhitespace option

8 years agoVersion 1.0.1
Juriy Zaytsev [Thu, 24 Dec 2015 16:36:03 +0000 (11:36 -0500)]
Version 1.0.1

8 years agoTravis CI: switch to "5".
XhmikosR [Thu, 24 Dec 2015 16:35:37 +0000 (18:35 +0200)]
Travis CI: switch to "5".

8 years agoUpdate assets.
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]

8 years agoUpdate devDependencies.
XhmikosR [Thu, 24 Dec 2015 16:32:44 +0000 (18:32 +0200)]
Update devDependencies.

8 years agoUpdate README.md
Juriy Zaytsev [Mon, 21 Dec 2015 19:33:21 +0000 (14:33 -0500)]
Update README.md

8 years agoAdd collapseInlineTagWhitespace option
sapics [Fri, 20 Nov 2015 23:56:54 +0000 (08:56 +0900)]
Add collapseInlineTagWhitespace option

8 years agoAdd a test for SVG minification
Thomas Genin [Tue, 17 Nov 2015 23:45:20 +0000 (15:45 -0800)]
Add a test for SVG minification

8 years agoMerge branch 'gh-pages' of https://github.com/kangax/html-minifier into issue381-svg
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

8 years agoUpdate dependencies.
XhmikosR [Fri, 13 Nov 2015 16:07:19 +0000 (18:07 +0200)]
Update dependencies.

uglify-js 2.6.0, grunt-jscs 2.3.0.

8 years agoUpdate .gitignore.
XhmikosR [Fri, 13 Nov 2015 16:06:46 +0000 (18:06 +0200)]
Update .gitignore.

[ci skip]

8 years agoUpdate Travis Ci to use `stable` and remove 0.12.
XhmikosR [Fri, 13 Nov 2015 16:05:31 +0000 (18:05 +0200)]
Update Travis Ci to use `stable` and remove 0.12.

8 years agoRestore SVG into the common tag
Thomas Genin [Wed, 11 Nov 2015 22:50:01 +0000 (14:50 -0800)]
Restore SVG into the common tag

8 years agoStart to minify SVG
Thomas Genin [Wed, 11 Nov 2015 22:24:14 +0000 (14:24 -0800)]
Start to minify SVG

8 years agoMerge pull request #432 from genintho/issue323
Juriy Zaytsev [Tue, 10 Nov 2015 11:55:09 +0000 (12:55 +0100)]
Merge pull request #432 from genintho/issue323

Minify all files inside a directory

8 years agoStyle fixes
Thomas Genin [Tue, 10 Nov 2015 04:48:48 +0000 (20:48 -0800)]
Style fixes

8 years agoMinify all files inside a directory kangax/html-minifier#323
Thomas Genin [Tue, 10 Nov 2015 02:14:35 +0000 (18:14 -0800)]
Minify all files inside a directory kangax/html-minifier#323

8 years agoMerge pull request #429 from genintho/node5
Juriy Zaytsev [Thu, 5 Nov 2015 20:11:47 +0000 (21:11 +0100)]
Merge pull request #429 from genintho/node5

Node v5 is out. Let Travis run the tests with it

8 years agoNode v5 is out. Let Travis run the tests with it
Thomas Genin [Thu, 5 Nov 2015 19:24:03 +0000 (11:24 -0800)]
Node v5 is out. Let Travis run the tests with it

8 years agoBump version in index.html too.
XhmikosR [Tue, 27 Oct 2015 17:49:06 +0000 (19:49 +0200)]
Bump version in index.html too.

[ci skip]

8 years agoBump devDependencies.
XhmikosR [Tue, 27 Oct 2015 17:48:26 +0000 (19:48 +0200)]
Bump devDependencies.

8 years agoUpdate README.md
Juriy Zaytsev [Tue, 27 Oct 2015 16:34:20 +0000 (17:34 +0100)]
Update README.md

8 years agoAdd another test for ignoreCustomFragments
Juriy Zaytsev [Sun, 25 Oct 2015 15:38:32 +0000 (16:38 +0100)]
Add another test for ignoreCustomFragments

8 years agoVersion 1.0.0
Juriy Zaytsev [Sun, 25 Oct 2015 15:25:15 +0000 (16:25 +0100)]
Version 1.0.0

8 years agoAdd `ignoreCustomFragments` that accepts array of regexes.
Juriy Zaytsev [Sun, 25 Oct 2015 15:22:38 +0000 (16:22 +0100)]
Add `ignoreCustomFragments` that accepts array of regexes.
You can now ignore things like <?php...?>, {{...}}, etc.
Deprecate `removeIgnored`.
Closes #83 #181 #307 #328 #329 #336 #340 #353 #421

8 years agoAdd header
Juriy Zaytsev [Sat, 24 Oct 2015 18:21:53 +0000 (20:21 +0200)]
Add header

8 years agoAdd comparison with minimize. Closes #338
Juriy Zaytsev [Sat, 24 Oct 2015 18:20:30 +0000 (20:20 +0200)]
Add comparison with minimize. Closes #338

8 years agoVersion 0.8.1
Juriy Zaytsev [Sat, 24 Oct 2015 17:19:58 +0000 (19:19 +0200)]
Version 0.8.1

8 years agoIgnore temp comments
Juriy Zaytsev [Sat, 24 Oct 2015 16:56:45 +0000 (18:56 +0200)]
Ignore temp comments

8 years agoAdd another ignore test. Closes #366
Juriy Zaytsev [Sat, 24 Oct 2015 16:43:08 +0000 (18:43 +0200)]
Add another ignore test. Closes #366

8 years agoMake <!-- htmlmin:ignore --> work with all kinds of markup. Closes #398
Juriy Zaytsev [Sat, 24 Oct 2015 16:40:31 +0000 (18:40 +0200)]
Make <!-- htmlmin:ignore --> work with all kinds of markup. Closes #398

8 years agoMerge pull request #383 from bfred-it/allow-js-in-config
Juriy Zaytsev [Sat, 17 Oct 2015 04:21:20 +0000 (00:21 -0400)]
Merge pull request #383 from bfred-it/allow-js-in-config

Allow JSON files and node modules as config files

8 years agoAllow JSON files and node modules as config files on CLI
Federico Brigante [Sat, 17 Oct 2015 03:43:37 +0000 (10:43 +0700)]
Allow JSON files and node modules as config files on CLI

8 years agoUpdate dependencies.
XhmikosR [Mon, 12 Oct 2015 18:54:10 +0000 (21:54 +0300)]
Update dependencies.

clean-css 3.4.5, uglify-js 2.5.0.

8 years agoForgive me father for I have sinned and introduced a 7th argument. Closes #417
Juriy Zaytsev [Thu, 8 Oct 2015 21:02:41 +0000 (17:02 -0400)]
Forgive me father for I have sinned and introduced a 7th argument. Closes #417

8 years agoDo not treat <noscript> in a special way. Closes #288
Juriy Zaytsev [Sat, 3 Oct 2015 03:05:37 +0000 (23:05 -0400)]
Do not treat <noscript> in a special way. Closes #288

8 years agoMerge pull request #410 from bryanerayner/feature/custom-attribute_carriage-return...
Juriy Zaytsev [Sat, 26 Sep 2015 16:50:40 +0000 (12:50 -0400)]
Merge pull request #410 from bryanerayner/feature/custom-attribute_carriage-return-support

Feature/custom attribute carriage return support

8 years agoMerge pull request #411 from SPxiaomin/patch-1
Juriy Zaytsev [Sat, 26 Sep 2015 16:42:44 +0000 (12:42 -0400)]
Merge pull request #411 from SPxiaomin/patch-1

Update README.md

8 years agoUpdate README.md
gujunmin [Sat, 26 Sep 2015 03:18:41 +0000 (11:18 +0800)]
Update README.md

correct 'strutrue' to 'structure' in line 75

8 years agoModify test to support new carriage return and white space collapsing feature
Bryan Rayner [Fri, 25 Sep 2015 16:14:49 +0000 (11:14 -0500)]
Modify test to support new carriage return and white space collapsing feature

8 years agoMake changes to satisfy JSCS
Bryan Rayner [Fri, 25 Sep 2015 16:06:56 +0000 (11:06 -0500)]
Make changes to satisfy JSCS

8 years agoAdd support for carriage returns
Bryan Rayner [Fri, 25 Sep 2015 15:48:53 +0000 (10:48 -0500)]
Add support for carriage returns

9 years agoUpdate cleancss-browser.js to v3.4.4.
XhmikosR [Wed, 23 Sep 2015 18:43:10 +0000 (21:43 +0300)]
Update cleancss-browser.js to v3.4.4.

9 years agoUpdate load-grunt-tasks.
XhmikosR [Wed, 23 Sep 2015 18:42:33 +0000 (21:42 +0300)]
Update load-grunt-tasks.

9 years agoBump version in index.html too.
XhmikosR [Wed, 23 Sep 2015 18:42:12 +0000 (21:42 +0300)]
Bump version in index.html too.

[ci skip]

9 years agoVersion 0.8.0
Juriy Zaytsev [Wed, 23 Sep 2015 18:11:58 +0000 (14:11 -0400)]
Version 0.8.0

9 years agoFix typo
Juriy Zaytsev [Wed, 23 Sep 2015 18:01:52 +0000 (14:01 -0400)]
Fix typo

9 years agoAdd track to optional tags
Juriy Zaytsev [Wed, 23 Sep 2015 17:59:19 +0000 (13:59 -0400)]
Add track to optional tags

9 years agoUpdate README.md
Juriy Zaytsev [Sun, 20 Sep 2015 20:55:10 +0000 (16:55 -0400)]
Update README.md

9 years agoUpdate README.md
Juriy Zaytsev [Sun, 20 Sep 2015 20:54:00 +0000 (16:54 -0400)]
Update README.md

9 years agoMerge pull request #407 from jonnochoo/gh-pages
Juriy Zaytsev [Sun, 20 Sep 2015 20:50:32 +0000 (16:50 -0400)]
Merge pull request #407 from jonnochoo/gh-pages

Allow the choice of character for enclosing attrbutes

9 years agoAdded feature to allow for a choice of character for enclosing attributes
Jonathon Choo [Sun, 20 Sep 2015 13:06:07 +0000 (23:06 +1000)]
Added feature to allow for a choice of character for enclosing attributes

9 years agopackage.json: minor cleanup.
XhmikosR [Mon, 14 Sep 2015 18:57:56 +0000 (21:57 +0300)]
package.json: minor cleanup.

9 years agoUpdate devDependencies.
XhmikosR [Mon, 14 Sep 2015 18:56:37 +0000 (21:56 +0300)]
Update devDependencies.

9 years agoUpdate QUnit to v1.19.0.
XhmikosR [Mon, 14 Sep 2015 18:55:36 +0000 (21:55 +0300)]
Update QUnit to v1.19.0.

9 years agoUpdate cleancss-browser.js to v3.4.2.
XhmikosR [Mon, 14 Sep 2015 18:55:24 +0000 (21:55 +0300)]
Update cleancss-browser.js to v3.4.2.

9 years ago_config.yml: update excludes.
XhmikosR [Mon, 14 Sep 2015 18:55:14 +0000 (21:55 +0300)]
_config.yml: update excludes.

9 years agoTravis CI: Test node.js 4.0.
XhmikosR [Mon, 14 Sep 2015 18:55:03 +0000 (21:55 +0300)]
Travis CI: Test node.js 4.0.

9 years agoMerge pull request #405 from antonmoiseev/update-cleancss
Juriy Zaytsev [Mon, 14 Sep 2015 14:46:06 +0000 (10:46 -0400)]
Merge pull request #405 from antonmoiseev/update-cleancss

Bump up clean-css minor version in package.json

9 years agoBump up clean-css minor version in package.json
Anton Moiseev [Mon, 14 Sep 2015 13:37:13 +0000 (16:37 +0300)]
Bump up clean-css minor version in package.json

Issue #403

9 years agoUpdate assets.
XhmikosR [Sun, 26 Jul 2015 10:41:46 +0000 (13:41 +0300)]
Update assets.

clean-css 3.3.6, uglify-js 2.4.24

9 years agoUpdate dependencies.
XhmikosR [Sun, 26 Jul 2015 10:38:49 +0000 (13:38 +0300)]
Update dependencies.

9 years agoMerge pull request #387 from yuanchuan/cli
Juriy Zaytsev [Thu, 23 Jul 2015 13:23:53 +0000 (09:23 -0400)]
Merge pull request #387 from yuanchuan/cli

improve and simplify logs with wrapped methods in `cli` module