html-minifier.git
10 years agoEnable JSHint's `newcap` option.
XhmikosR [Sat, 8 Mar 2014 15:58:34 +0000 (17:58 +0200)]
Enable JSHint's `newcap` option.

10 years agoUpdate dependencies.
XhmikosR [Sat, 8 Mar 2014 15:56:03 +0000 (17:56 +0200)]
Update dependencies.

Note that the remaining modules  are left out due to the fact that the newer versions don't support node.js 0.8.

10 years agoMove npm module badge first.
XhmikosR [Sat, 8 Mar 2014 15:55:17 +0000 (17:55 +0200)]
Move npm module badge first.

10 years agoMerge pull request #133 from matthewwithanm/options-table
Juriy Zaytsev [Mon, 10 Mar 2014 19:28:14 +0000 (15:28 -0400)]
Merge pull request #133 from matthewwithanm/options-table

Add options quick reference; closes GH-131

10 years agoAdd options quick reference; closes GH-131
Matthew Dapena-Tretter [Mon, 10 Mar 2014 19:06:24 +0000 (15:06 -0400)]
Add options quick reference; closes GH-131

10 years agoUpdate README.md
Juriy Zaytsev [Sat, 8 Mar 2014 14:43:27 +0000 (09:43 -0500)]
Update README.md

10 years agoMerge pull request #126 from XhmikosR/gh-pages
Juriy Zaytsev [Tue, 18 Feb 2014 19:36:01 +0000 (14:36 -0500)]
Merge pull request #126 from XhmikosR/gh-pages

Enable JSHint's `quotmark` rule.

10 years agoMerge pull request #125 from XhmikosR/qunit
Juriy Zaytsev [Tue, 18 Feb 2014 17:55:40 +0000 (12:55 -0500)]
Merge pull request #125 from XhmikosR/qunit

Update QUnit to 1.14.0.

10 years agoEnable JSHint's `quotmark` rule.
XhmikosR [Tue, 18 Feb 2014 17:39:47 +0000 (19:39 +0200)]
Enable JSHint's `quotmark` rule.

10 years agoUpdate QUnit to 1.14.0.
XhmikosR [Tue, 18 Feb 2014 17:33:52 +0000 (19:33 +0200)]
Update QUnit to 1.14.0.

10 years agoMerge pull request #114 from XhmikosR/gh-pages
Juriy Zaytsev [Tue, 18 Feb 2014 17:30:47 +0000 (12:30 -0500)]
Merge pull request #114 from XhmikosR/gh-pages

Switch to Grunt

10 years agoHTML: specify language.
XhmikosR [Tue, 18 Feb 2014 16:59:42 +0000 (18:59 +0200)]
HTML: specify language.

10 years agoIgnore Gruntfile.js when installing the package too.
XhmikosR [Tue, 18 Feb 2014 16:07:56 +0000 (18:07 +0200)]
Ignore Gruntfile.js when installing the package too.

10 years agoMove globals where they are used.
XhmikosR [Tue, 18 Feb 2014 16:01:02 +0000 (18:01 +0200)]
Move globals where they are used.

10 years agoEnable JSHint's `indent` option.
XhmikosR [Tue, 18 Feb 2014 16:00:36 +0000 (18:00 +0200)]
Enable JSHint's `indent` option.

Now the code should have consistent indentation.

10 years agoUse grunt-exec for the tests.
XhmikosR [Tue, 18 Feb 2014 15:53:56 +0000 (17:53 +0200)]
Use grunt-exec for the tests.

10 years agoGruntfile.js: switch to 2 space indentation to match the rest of the codebase.
XhmikosR [Tue, 18 Feb 2014 15:51:38 +0000 (17:51 +0200)]
Gruntfile.js: switch to 2 space indentation to match the rest of the codebase.

10 years agoTweak license headers.
XhmikosR [Tue, 18 Feb 2014 15:43:06 +0000 (17:43 +0200)]
Tweak license headers.

10 years agoRemove unneeded arrays.
XhmikosR [Tue, 18 Feb 2014 15:35:11 +0000 (17:35 +0200)]
Remove unneeded arrays.

10 years agoLint all JS files.
XhmikosR [Tue, 18 Feb 2014 15:25:29 +0000 (17:25 +0200)]
Lint all JS files.

10 years agoRun `grunt dist`.
XhmikosR [Tue, 18 Feb 2014 15:18:57 +0000 (17:18 +0200)]
Run `grunt dist`.

10 years agoUse license object instead of licenses array.
XhmikosR [Tue, 18 Feb 2014 15:18:19 +0000 (17:18 +0200)]
Use license object instead of licenses array.

10 years agoAdd banner to dist files.
XhmikosR [Tue, 28 Jan 2014 11:59:29 +0000 (13:59 +0200)]
Add banner to dist files.

10 years agoDrop Node.js 0.6 support.
XhmikosR [Tue, 28 Jan 2014 08:16:54 +0000 (10:16 +0200)]
Drop Node.js 0.6 support.

10 years agoSwitch to Grunt.
XhmikosR [Tue, 28 Jan 2014 08:09:08 +0000 (10:09 +0200)]
Switch to Grunt.

10 years agoMerge pull request #124 from Larixk/patch-1
Juriy Zaytsev [Tue, 18 Feb 2014 02:36:05 +0000 (21:36 -0500)]
Merge pull request #124 from Larixk/patch-1

Fixed bug in custom testers

10 years agoFixed bug in custom testers
Larix Kortbeek [Tue, 18 Feb 2014 00:27:41 +0000 (01:27 +0100)]
Fixed bug in custom testers

Even when a `canCollapseWhitespace` 'tester' was passed, it was never used. The code in `_canCollapseWhitespace` erroneously refered to `options.canTrimWhitespace`. This change fixes this.

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:41:26 +0000 (13:41 -0500)]
Update table

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:41:04 +0000 (13:41 -0500)]
Update table

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:39:50 +0000 (13:39 -0500)]
Update table

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:39:06 +0000 (13:39 -0500)]
Update table

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:32:55 +0000 (13:32 -0500)]
Update table

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:32:15 +0000 (13:32 -0500)]
Update table

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:29:31 +0000 (13:29 -0500)]
Update table

10 years agoUpdate table
kangax [Sun, 16 Feb 2014 18:27:36 +0000 (13:27 -0500)]
Update table

10 years agoAdd comparison table
kangax [Sun, 16 Feb 2014 18:23:09 +0000 (13:23 -0500)]
Add comparison table

10 years agoMerge pull request #121 from kotnik/devease
Juriy Zaytsev [Fri, 14 Feb 2014 02:07:16 +0000 (21:07 -0500)]
Merge pull request #121 from kotnik/devease

Test runner does not minify, so don't test minified version

10 years agoMerge pull request #122 from kotnik/closingSlash
Juriy Zaytsev [Fri, 14 Feb 2014 02:04:54 +0000 (21:04 -0500)]
Merge pull request #122 from kotnik/closingSlash

Add an option to keep closing slash in singleton tags

10 years agoAdd an option to keep closing slash in singleton tags
Nikola Kotur [Thu, 13 Feb 2014 23:14:59 +0000 (00:14 +0100)]
Add an option to keep closing slash in singleton tags

If ``keepClosingSlash`` is set to ``true`` in options, closing singleton slash
will be preserved. This is important for HTML5 being minified, since in HTML5
closing slash is not optional and affects the DOM significantly.

Closes #76.

10 years agoTest runner does not minify, so don't test minified version
Nikola Kotur [Thu, 13 Feb 2014 23:09:43 +0000 (00:09 +0100)]
Test runner does not minify, so don't test minified version

10 years agoUpdate dist
kangax [Mon, 3 Feb 2014 20:33:31 +0000 (15:33 -0500)]
Update dist

10 years agoFix quotes in attributes
kangax [Mon, 3 Feb 2014 20:32:25 +0000 (15:32 -0500)]
Fix quotes in attributes

10 years agoMerge pull request #116 from XhmikosR/qunit
Juriy Zaytsev [Thu, 30 Jan 2014 23:00:27 +0000 (15:00 -0800)]
Merge pull request #116 from XhmikosR/qunit

Update Qunit to 1.13.

10 years agoUpdate Qunit to 1.13.
XhmikosR [Thu, 30 Jan 2014 18:27:26 +0000 (20:27 +0200)]
Update Qunit to 1.13.

10 years agoMerge pull request #115 from XhmikosR/lint
Juriy Zaytsev [Tue, 28 Jan 2014 23:37:59 +0000 (15:37 -0800)]
Merge pull request #115 from XhmikosR/lint

Lint

10 years agoMissing semicolons.
XhmikosR [Tue, 28 Jan 2014 08:04:01 +0000 (10:04 +0200)]
Missing semicolons.

10 years agosrc/htmlparser.js: fix semicolon used instead of comma.
XhmikosR [Tue, 28 Jan 2014 07:59:06 +0000 (09:59 +0200)]
src/htmlparser.js: fix semicolon used instead of comma.

10 years agoMake </source> tag optional. Closes #92
kangax [Fri, 24 Jan 2014 15:21:14 +0000 (10:21 -0500)]
Make </source> tag optional. Closes #92

10 years agoAdd flattr button
kangax [Fri, 24 Jan 2014 15:04:07 +0000 (10:04 -0500)]
Add flattr button

10 years agoAdd link to tests; big scary warning is no longer necessary
kangax [Fri, 24 Jan 2014 15:00:11 +0000 (10:00 -0500)]
Add link to tests; big scary warning is no longer necessary

10 years agoAdd td and th to optional tags list. Closes #95
kangax [Fri, 24 Jan 2014 14:45:56 +0000 (09:45 -0500)]
Add td and th to optional tags list. Closes #95

10 years agoAdd caseSensitive option; closes #106
kangax [Fri, 24 Jan 2014 14:37:38 +0000 (09:37 -0500)]
Add caseSensitive option; closes #106

10 years agoAdd note about grunt plugin
kangax [Thu, 23 Jan 2014 19:15:39 +0000 (14:15 -0500)]
Add note about grunt plugin

10 years agoAdd npm badge
kangax [Thu, 23 Jan 2014 18:18:17 +0000 (13:18 -0500)]
Add npm badge

10 years agoUpdate travis
kangax [Thu, 23 Jan 2014 18:06:39 +0000 (13:06 -0500)]
Update travis

10 years agoMerge pull request #110 from XhmikosR/gh-pages
Juriy Zaytsev [Thu, 23 Jan 2014 17:47:43 +0000 (09:47 -0800)]
Merge pull request #110 from XhmikosR/gh-pages

Travis

10 years agoUpdate package.json.
XhmikosR [Thu, 23 Jan 2014 17:39:58 +0000 (19:39 +0200)]
Update package.json.

10 years agoUpdate .travis.yml.
XhmikosR [Thu, 23 Jan 2014 17:39:26 +0000 (19:39 +0200)]
Update .travis.yml.

10 years agoMerge pull request #109 from XhmikosR/gh-pages
Juriy Zaytsev [Thu, 23 Jan 2014 17:35:44 +0000 (09:35 -0800)]
Merge pull request #109 from XhmikosR/gh-pages

Minor improvements (2)

10 years agoUpdate .travis.yml.
XhmikosR [Thu, 23 Jan 2014 17:27:51 +0000 (19:27 +0200)]
Update .travis.yml.

10 years agoUpdate README.md.
XhmikosR [Thu, 23 Jan 2014 17:27:41 +0000 (19:27 +0200)]
Update README.md.

10 years agoUpdate travis
kangax [Thu, 23 Jan 2014 16:12:03 +0000 (11:12 -0500)]
Update travis

10 years agoUpdate LICENSE
kangax [Thu, 23 Jan 2014 16:02:02 +0000 (11:02 -0500)]
Update LICENSE

10 years agoUpdate README
kangax [Thu, 23 Jan 2014 15:56:45 +0000 (10:56 -0500)]
Update README

10 years agoMerge pull request #108 from XhmikosR/gh-pages
Juriy Zaytsev [Thu, 23 Jan 2014 15:51:01 +0000 (07:51 -0800)]
Merge pull request #108 from XhmikosR/gh-pages

Various improvements

10 years agoUse the minified all.js file.
XhmikosR [Thu, 23 Jan 2014 08:30:30 +0000 (10:30 +0200)]
Use the minified all.js file.

10 years agohtmlparser.js: Make the license header comment important.
XhmikosR [Wed, 22 Jan 2014 18:26:16 +0000 (20:26 +0200)]
htmlparser.js: Make the license header comment important.

10 years agoUse QUnit from OSSCDN.
XhmikosR [Wed, 22 Jan 2014 17:46:13 +0000 (19:46 +0200)]
Use QUnit from OSSCDN.

10 years agohtml: switch to simple doctype and use the concatenated JS dist file.
XhmikosR [Wed, 22 Jan 2014 17:59:36 +0000 (19:59 +0200)]
html: switch to simple doctype and use the concatenated JS dist file.

10 years agoUpdate README.md.
XhmikosR [Wed, 22 Jan 2014 17:58:45 +0000 (19:58 +0200)]
Update README.md.

* add dependencies badge
* use the new .io URL
* simplify code syntax

10 years agoClean up .jshintrc.
XhmikosR [Wed, 22 Jan 2014 17:58:06 +0000 (19:58 +0200)]
Clean up .jshintrc.

10 years agoUpdate .gitignore.
XhmikosR [Wed, 22 Jan 2014 17:57:45 +0000 (19:57 +0200)]
Update .gitignore.

10 years agoAdd a _config.yml to exclude unneeded files/folders from being parsed by Jekyll.
XhmikosR [Wed, 22 Jan 2014 17:57:35 +0000 (19:57 +0200)]
Add a _config.yml to exclude unneeded files/folders from being parsed by Jekyll.

10 years agoUpdate devDependencies.
XhmikosR [Wed, 22 Jan 2014 17:56:43 +0000 (19:56 +0200)]
Update devDependencies.

10 years agoNormalize package.json and add missing properties.
XhmikosR [Wed, 22 Jan 2014 17:53:38 +0000 (19:53 +0200)]
Normalize package.json and add missing properties.

10 years agoUpdate .npmignore.
XhmikosR [Wed, 22 Jan 2014 09:43:20 +0000 (11:43 +0200)]
Update .npmignore.

10 years agoAdd minify script
kangax [Wed, 22 Jan 2014 18:19:40 +0000 (13:19 -0500)]
Add minify script

10 years agoAdd lint, build, test scripts to package.json. Update README.
kangax [Wed, 22 Jan 2014 18:03:56 +0000 (13:03 -0500)]
Add lint, build, test scripts to package.json. Update README.

10 years agoAdd test
kangax [Tue, 21 Jan 2014 19:21:32 +0000 (14:21 -0500)]
Add test

10 years agoVersion 0.5.5
kangax [Tue, 21 Jan 2014 19:02:16 +0000 (14:02 -0500)]
Version 0.5.5

10 years agoUpdate README.md
Juriy Zaytsev [Fri, 3 Jan 2014 04:26:16 +0000 (23:26 -0500)]
Update README.md

10 years agoMerge pull request #104 from almirfilho/gh-pages
Juriy Zaytsev [Thu, 19 Dec 2013 23:08:55 +0000 (15:08 -0800)]
Merge pull request #104 from almirfilho/gh-pages

Add missing HTML inline tags for collapsing whitespace

10 years agoAdds missing HTML inline tags for collapsing whitespace
Almir Filho [Thu, 19 Dec 2013 13:52:05 +0000 (11:52 -0200)]
Adds missing HTML inline tags for collapsing whitespace

10 years agoMerge pull request #93 from stieler-it/patch-1
Juriy Zaytsev [Mon, 11 Nov 2013 15:59:06 +0000 (07:59 -0800)]
Merge pull request #93 from stieler-it/patch-1

Preserve quotes if attribute ends with a trailing slash

10 years agoAdded a comment to make the reason behind the expression more verbose
stieler-it [Mon, 11 Nov 2013 06:36:48 +0000 (07:36 +0100)]
Added a comment to make the reason behind the expression more verbose

10 years agoAdded a test that fails if attribute quotes are stripped with a trailing slash
stieler-it [Mon, 11 Nov 2013 06:36:07 +0000 (07:36 +0100)]
Added a test that fails if attribute quotes are stripped with a trailing slash

10 years agoMerge pull request #96 from sparanoid/feature/time-tag
Juriy Zaytsev [Wed, 6 Nov 2013 17:41:59 +0000 (09:41 -0800)]
Merge pull request #96 from sparanoid/feature/time-tag

Add space around time tag

10 years agoAdd space around time tag
Tunghsiao Liu [Wed, 6 Nov 2013 17:27:30 +0000 (01:27 +0800)]
Add space around time tag

10 years agoMerge pull request #94 from rolftimmermans/newline-collapse
Juriy Zaytsev [Mon, 4 Nov 2013 10:51:57 +0000 (02:51 -0800)]
Merge pull request #94 from rolftimmermans/newline-collapse

Newlines should be collapsed to single space.

10 years agoNewlines should be collapsed to single space.
Rolf Timmermans [Mon, 4 Nov 2013 10:14:30 +0000 (11:14 +0100)]
Newlines should be collapsed to single space.

10 years agoUpdate front page again
kangax [Sat, 2 Nov 2013 13:38:08 +0000 (14:38 +0100)]
Update front page again

10 years agoUpdate front page
kangax [Sat, 2 Nov 2013 13:36:41 +0000 (14:36 +0100)]
Update front page

10 years agoUpdate charset
kangax [Sat, 2 Nov 2013 13:31:18 +0000 (14:31 +0100)]
Update charset

10 years agoChange doctype
kangax [Sat, 2 Nov 2013 13:25:44 +0000 (14:25 +0100)]
Change doctype

10 years agoPreserve quotes if attribute ends with a trailing slash
stieler-it [Tue, 22 Oct 2013 09:56:53 +0000 (11:56 +0200)]
Preserve quotes if attribute ends with a trailing slash

minified URLs in parameters, like <a href="http://www.example.com/"> need to keept their quotes because <a href=http://www.example.com/> is interpreted as an URL without trailing slash

11 years agoBump version to 0.5.4
kangax [Wed, 4 Sep 2013 11:10:57 +0000 (13:10 +0200)]
Bump version to 0.5.4

11 years agoMerge pull request #82 from mhulse/patch-3
Juriy Zaytsev [Wed, 4 Sep 2013 11:06:41 +0000 (04:06 -0700)]
Merge pull request #82 from mhulse/patch-3

New feature: Ignoring tags.

11 years agoIgnored tags: Final tweaks before sending PR.
Micky Hulse [Wed, 4 Sep 2013 02:27:42 +0000 (19:27 -0700)]
Ignored tags: Final tweaks before sending PR.

See: kangax/html-minifier#10

11 years agoCleaning up a few things like ...
Micky Hulse [Wed, 21 Aug 2013 22:14:17 +0000 (15:14 -0700)]
Cleaning up a few things like ...

… removal of an unused variable.

11 years agoSimplified regex ...
Micky Hulse [Wed, 21 Aug 2013 21:21:35 +0000 (14:21 -0700)]
Simplified regex ...

For finding start and end "ignored" tags.