XhmikosR [Tue, 18 Feb 2014 15:53:56 +0000 (17:53 +0200)]
Use grunt-exec for the tests.
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.
XhmikosR [Tue, 18 Feb 2014 15:43:06 +0000 (17:43 +0200)]
Tweak license headers.
XhmikosR [Tue, 18 Feb 2014 15:35:11 +0000 (17:35 +0200)]
Remove unneeded arrays.
XhmikosR [Tue, 18 Feb 2014 15:25:29 +0000 (17:25 +0200)]
Lint all JS files.
XhmikosR [Tue, 18 Feb 2014 15:18:57 +0000 (17:18 +0200)]
Run `grunt dist`.
XhmikosR [Tue, 18 Feb 2014 15:18:19 +0000 (17:18 +0200)]
Use license object instead of licenses array.
XhmikosR [Tue, 28 Jan 2014 11:59:29 +0000 (13:59 +0200)]
Add banner to dist files.
XhmikosR [Tue, 28 Jan 2014 08:16:54 +0000 (10:16 +0200)]
Drop Node.js 0.6 support.
XhmikosR [Tue, 28 Jan 2014 08:09:08 +0000 (10:09 +0200)]
Switch to Grunt.
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
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.
kangax [Sun, 16 Feb 2014 18:41:26 +0000 (13:41 -0500)]
Update table
kangax [Sun, 16 Feb 2014 18:41:04 +0000 (13:41 -0500)]
Update table
kangax [Sun, 16 Feb 2014 18:39:50 +0000 (13:39 -0500)]
Update table
kangax [Sun, 16 Feb 2014 18:39:06 +0000 (13:39 -0500)]
Update table
kangax [Sun, 16 Feb 2014 18:32:55 +0000 (13:32 -0500)]
Update table
kangax [Sun, 16 Feb 2014 18:32:15 +0000 (13:32 -0500)]
Update table
kangax [Sun, 16 Feb 2014 18:29:31 +0000 (13:29 -0500)]
Update table
kangax [Sun, 16 Feb 2014 18:27:36 +0000 (13:27 -0500)]
Update table
kangax [Sun, 16 Feb 2014 18:23:09 +0000 (13:23 -0500)]
Add comparison table
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
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
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.
Nikola Kotur [Thu, 13 Feb 2014 23:09:43 +0000 (00:09 +0100)]
Test runner does not minify, so don't test minified version
kangax [Mon, 3 Feb 2014 20:33:31 +0000 (15:33 -0500)]
Update dist
kangax [Mon, 3 Feb 2014 20:32:25 +0000 (15:32 -0500)]
Fix quotes in attributes
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.
XhmikosR [Thu, 30 Jan 2014 18:27:26 +0000 (20:27 +0200)]
Update Qunit to 1.13.
Juriy Zaytsev [Tue, 28 Jan 2014 23:37:59 +0000 (15:37 -0800)]
Merge pull request #115 from XhmikosR/lint
Lint
XhmikosR [Tue, 28 Jan 2014 08:04:01 +0000 (10:04 +0200)]
Missing semicolons.
XhmikosR [Tue, 28 Jan 2014 07:59:06 +0000 (09:59 +0200)]
src/htmlparser.js: fix semicolon used instead of comma.
kangax [Fri, 24 Jan 2014 15:21:14 +0000 (10:21 -0500)]
Make </source> tag optional. Closes #92
kangax [Fri, 24 Jan 2014 15:04:07 +0000 (10:04 -0500)]
Add flattr button
kangax [Fri, 24 Jan 2014 15:00:11 +0000 (10:00 -0500)]
Add link to tests; big scary warning is no longer necessary
kangax [Fri, 24 Jan 2014 14:45:56 +0000 (09:45 -0500)]
Add td and th to optional tags list. Closes #95
kangax [Fri, 24 Jan 2014 14:37:38 +0000 (09:37 -0500)]
Add caseSensitive option; closes #106
kangax [Thu, 23 Jan 2014 19:15:39 +0000 (14:15 -0500)]
Add note about grunt plugin
kangax [Thu, 23 Jan 2014 18:18:17 +0000 (13:18 -0500)]
Add npm badge
kangax [Thu, 23 Jan 2014 18:06:39 +0000 (13:06 -0500)]
Update travis
Juriy Zaytsev [Thu, 23 Jan 2014 17:47:43 +0000 (09:47 -0800)]
Merge pull request #110 from XhmikosR/gh-pages
Travis
XhmikosR [Thu, 23 Jan 2014 17:39:58 +0000 (19:39 +0200)]
Update package.json.
XhmikosR [Thu, 23 Jan 2014 17:39:26 +0000 (19:39 +0200)]
Update .travis.yml.
Juriy Zaytsev [Thu, 23 Jan 2014 17:35:44 +0000 (09:35 -0800)]
Merge pull request #109 from XhmikosR/gh-pages
Minor improvements (2)
XhmikosR [Thu, 23 Jan 2014 17:27:51 +0000 (19:27 +0200)]
Update .travis.yml.
XhmikosR [Thu, 23 Jan 2014 17:27:41 +0000 (19:27 +0200)]
Update README.md.
kangax [Thu, 23 Jan 2014 16:12:03 +0000 (11:12 -0500)]
Update travis
kangax [Thu, 23 Jan 2014 16:02:02 +0000 (11:02 -0500)]
Update LICENSE
kangax [Thu, 23 Jan 2014 15:56:45 +0000 (10:56 -0500)]
Update README
Juriy Zaytsev [Thu, 23 Jan 2014 15:51:01 +0000 (07:51 -0800)]
Merge pull request #108 from XhmikosR/gh-pages
Various improvements
XhmikosR [Thu, 23 Jan 2014 08:30:30 +0000 (10:30 +0200)]
Use the minified all.js file.
XhmikosR [Wed, 22 Jan 2014 18:26:16 +0000 (20:26 +0200)]
htmlparser.js: Make the license header comment important.
XhmikosR [Wed, 22 Jan 2014 17:46:13 +0000 (19:46 +0200)]
Use QUnit from OSSCDN.
XhmikosR [Wed, 22 Jan 2014 17:59:36 +0000 (19:59 +0200)]
html: switch to simple doctype and use the concatenated JS dist file.
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
XhmikosR [Wed, 22 Jan 2014 17:58:06 +0000 (19:58 +0200)]
Clean up .jshintrc.
XhmikosR [Wed, 22 Jan 2014 17:57:45 +0000 (19:57 +0200)]
Update .gitignore.
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.
XhmikosR [Wed, 22 Jan 2014 17:56:43 +0000 (19:56 +0200)]
Update devDependencies.
XhmikosR [Wed, 22 Jan 2014 17:53:38 +0000 (19:53 +0200)]
Normalize package.json and add missing properties.
XhmikosR [Wed, 22 Jan 2014 09:43:20 +0000 (11:43 +0200)]
Update .npmignore.
kangax [Wed, 22 Jan 2014 18:19:40 +0000 (13:19 -0500)]
Add minify script
kangax [Wed, 22 Jan 2014 18:03:56 +0000 (13:03 -0500)]
Add lint, build, test scripts to package.json. Update README.
kangax [Tue, 21 Jan 2014 19:21:32 +0000 (14:21 -0500)]
Add test
kangax [Tue, 21 Jan 2014 19:02:16 +0000 (14:02 -0500)]
Version 0.5.5
Juriy Zaytsev [Fri, 3 Jan 2014 04:26:16 +0000 (23:26 -0500)]
Update README.md
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
Almir Filho [Thu, 19 Dec 2013 13:52:05 +0000 (11:52 -0200)]
Adds missing HTML inline tags for collapsing whitespace
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
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
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
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
Tunghsiao Liu [Wed, 6 Nov 2013 17:27:30 +0000 (01:27 +0800)]
Add space around time tag
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.
Rolf Timmermans [Mon, 4 Nov 2013 10:14:30 +0000 (11:14 +0100)]
Newlines should be collapsed to single space.
kangax [Sat, 2 Nov 2013 13:38:08 +0000 (14:38 +0100)]
Update front page again
kangax [Sat, 2 Nov 2013 13:36:41 +0000 (14:36 +0100)]
Update front page
kangax [Sat, 2 Nov 2013 13:31:18 +0000 (14:31 +0100)]
Update charset
kangax [Sat, 2 Nov 2013 13:25:44 +0000 (14:25 +0100)]
Change doctype
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
kangax [Wed, 4 Sep 2013 11:10:57 +0000 (13:10 +0200)]
Bump version to 0.5.4
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.
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
Micky Hulse [Wed, 21 Aug 2013 22:14:17 +0000 (15:14 -0700)]
Cleaning up a few things like ...
… removal of an unused variable.
Micky Hulse [Wed, 21 Aug 2013 21:21:35 +0000 (14:21 -0700)]
Simplified regex ...
For finding start and end "ignored" tags.
Micky Hulse [Wed, 21 Aug 2013 10:15:34 +0000 (03:15 -0700)]
New feature: "ignored" tags.
Still a work in progress.
Juriy Zaytsev [Tue, 20 Aug 2013 09:53:00 +0000 (02:53 -0700)]
Merge pull request #81 from mhulse/patch-2
Fix whitespace not collapsing after <textarea>. Closes #77
Micky Hulse [Tue, 20 Aug 2013 06:32:20 +0000 (23:32 -0700)]
Whitespace after textarea/pre patch
Fix for issue #77 with collapseWhitespace tests.
Micky Hulse [Tue, 20 Aug 2013 02:27:04 +0000 (19:27 -0700)]
Added new collapseWhitespace test ...
Failing currently.
Micky Hulse [Tue, 20 Aug 2013 02:23:06 +0000 (19:23 -0700)]
Removed unused variable.
I forgot to kill this sucker via my last patch.
Juriy Zaytsev [Sun, 18 Aug 2013 22:34:28 +0000 (15:34 -0700)]
Merge pull request #79 from mhulse/patch-1
Add `isIgnoredComment()`
Micky Hulse [Sun, 18 Aug 2013 22:24:32 +0000 (15:24 -0700)]
Added tests for "ignored" comments.
kangax [Sun, 18 Aug 2013 10:00:00 +0000 (12:00 +0200)]
Update README
Micky Hulse [Thu, 15 Aug 2013 05:06:01 +0000 (22:06 -0700)]
Added isIgnoredComment()
Patch for issue #70.
kangax [Wed, 3 Jul 2013 22:18:32 +0000 (00:18 +0200)]
jshint parser
Juriy Zaytsev [Sun, 30 Jun 2013 18:15:27 +0000 (11:15 -0700)]
Merge pull request #71 from webnard/patch-1
Add more tags to collapseWhitespaceSmart whitelist
Ian Hunter [Sat, 29 Jun 2013 04:58:08 +0000 (22:58 -0600)]
More tags added to collapseWhitespaceSmart whitelist
cf. http://www.w3.org/Amaya/User/doc/HTML-elements/inline.html
kangax [Wed, 19 Jun 2013 11:09:48 +0000 (13:09 +0200)]
Better support for boolean attributes. Closes #63. Version 0.5.3
Juriy Zaytsev [Wed, 19 Jun 2013 10:57:43 +0000 (03:57 -0700)]
Merge pull request #67 from sndrs/gh-pages
Add code, kbd and q to list of tags with space around them.
sndrs [Thu, 13 Jun 2013 16:56:42 +0000 (17:56 +0100)]
logic mistake - restore checks for presence of '/'