html-minifier.git
9 years agoMerge pull request #299 from duncanbeevers/recognize-svg
Juriy Zaytsev [Thu, 11 Dec 2014 23:11:10 +0000 (00:11 +0100)]
Merge pull request #299 from duncanbeevers/recognize-svg

Special-case svg tags, preserve case and slashes

9 years agoAdd section to README regarding special-case SVG
Duncan Beevers [Thu, 11 Dec 2014 22:20:50 +0000 (16:20 -0600)]
Add section to README regarding special-case SVG

9 years agoSpecial-case svg tags, preserve case and slashes
Duncan Beevers [Thu, 13 Nov 2014 15:14:34 +0000 (09:14 -0600)]
Special-case svg tags, preserve case and slashes

9 years agoUpdate clean-css to v2.2.20.
XhmikosR [Thu, 4 Dec 2014 05:48:15 +0000 (07:48 +0200)]
Update clean-css to v2.2.20.

9 years agoUpdate clean-css to v2.2.19.
XhmikosR [Sun, 23 Nov 2014 10:26:10 +0000 (12:26 +0200)]
Update clean-css to v2.2.19.

9 years agoUpdate README.md.
XhmikosR [Sun, 23 Nov 2014 10:21:26 +0000 (12:21 +0200)]
Update README.md.

[ci skip]

9 years agoUpdate clean-css to v2.2.18.
XhmikosR [Tue, 18 Nov 2014 22:52:22 +0000 (00:52 +0200)]
Update clean-css to v2.2.18.

9 years agoMerge pull request #296 from NikolaySl/fix_lint
Juriy Zaytsev [Tue, 18 Nov 2014 12:56:09 +0000 (13:56 +0100)]
Merge pull request #296 from NikolaySl/fix_lint

Enable lint and its output for cli

9 years agoMove lint logging to cli.js
Nikolay Slyunkov [Tue, 18 Nov 2014 12:41:23 +0000 (16:41 +0400)]
Move lint logging to cli.js

9 years agoMinor ESLint fixes.
XhmikosR [Mon, 17 Nov 2014 07:25:56 +0000 (09:25 +0200)]
Minor ESLint fixes.

9 years agoMerge pull request #301 from duncanbeevers/benchmark-guard
XhmikosR [Mon, 17 Nov 2014 07:25:09 +0000 (09:25 +0200)]
Merge pull request #301 from duncanbeevers/benchmark-guard

Throw when fs.stat callback provides error

9 years agoThrow when fs.stat callback provides error
Duncan Beevers [Sun, 16 Nov 2014 22:35:30 +0000 (16:35 -0600)]
Throw when fs.stat callback provides error

9 years agoLint everything.
XhmikosR [Sun, 16 Nov 2014 20:15:25 +0000 (22:15 +0200)]
Lint everything.

9 years agoRun `grunt`.
XhmikosR [Sat, 15 Nov 2014 08:20:21 +0000 (10:20 +0200)]
Run `grunt`.

9 years agoUpdate clean-css to v2.2.17.
XhmikosR [Sat, 15 Nov 2014 08:19:39 +0000 (10:19 +0200)]
Update clean-css to v2.2.17.

9 years agoMerge pull request #280 from LaurentGoderre/fix-preserveLineBreaks
Juriy Zaytsev [Thu, 13 Nov 2014 10:20:00 +0000 (11:20 +0100)]
Merge pull request #280 from LaurentGoderre/fix-preserveLineBreaks

Fixed issue with preserveLineBreaks and line breaks at start and end of tag

9 years agoEnable lint and it's output for cli
Nikolay Slyunkov [Tue, 11 Nov 2014 15:26:46 +0000 (19:26 +0400)]
Enable lint and it's output for cli

9 years agoMerge pull request #291 from duncanbeevers/fix-dot-in-attr-regexp
Juriy Zaytsev [Sat, 1 Nov 2014 20:16:54 +0000 (21:16 +0100)]
Merge pull request #291 from duncanbeevers/fix-dot-in-attr-regexp

Fix `.` in attribute name with appropriate regexp

9 years agoFix `.` in attribute name with appropriate regexp
Duncan Beevers [Sat, 1 Nov 2014 17:37:12 +0000 (11:37 -0600)]
Fix `.` in attribute name with appropriate regexp

9 years agoUpdate dependencies.
XhmikosR [Thu, 23 Oct 2014 06:13:19 +0000 (09:13 +0300)]
Update dependencies.

9 years agoVersion 0.6.9
kangax [Thu, 16 Oct 2014 15:38:15 +0000 (17:38 +0200)]
Version 0.6.9

9 years agoFixed issue with preserveLineBreaks and line breaks at start and end of tag
Laurent Goderre [Fri, 3 Oct 2014 19:01:59 +0000 (15:01 -0400)]
Fixed issue with preserveLineBreaks and line breaks at start and end of tag

9 years agoMerge pull request #278 from featfm/gh-pages
Juriy Zaytsev [Fri, 10 Oct 2014 10:49:57 +0000 (12:49 +0200)]
Merge pull request #278 from featfm/gh-pages

Add support for attributes containing '.'

9 years agoAdd support for attributes containing '.'
Sigve Sebastian Farstad [Thu, 2 Oct 2014 14:57:06 +0000 (16:57 +0200)]
Add support for attributes containing '.'

9 years agoRun `grunt`.
XhmikosR [Wed, 1 Oct 2014 15:12:48 +0000 (18:12 +0300)]
Run `grunt`.

9 years agoMerge pull request #268 from LaurentGoderre/fix-nested-quotes
XhmikosR [Tue, 30 Sep 2014 17:45:50 +0000 (20:45 +0300)]
Merge pull request #268 from LaurentGoderre/fix-nested-quotes

Fixed nested quotes not being properly escaped

9 years agoAdded a more robust test for nested quotes in attributes
Laurent Goderre [Tue, 30 Sep 2014 16:07:03 +0000 (12:07 -0400)]
Added a more robust test for nested quotes in attributes

9 years agoFixed nested quotes not being properly escaped
Laurent Goderre [Mon, 15 Sep 2014 20:36:40 +0000 (16:36 -0400)]
Fixed nested quotes not being properly escaped

9 years agoMerge pull request #265 from LaurentGoderre/cli-help
XhmikosR [Tue, 30 Sep 2014 14:52:42 +0000 (17:52 +0300)]
Merge pull request #265 from LaurentGoderre/cli-help

Added preserveLineBreaks to the CLI help

10 years agoMerge pull request #269 from duncanbeevers/simplify-remove-ignored
Juriy Zaytsev [Mon, 22 Sep 2014 18:06:42 +0000 (20:06 +0200)]
Merge pull request #269 from duncanbeevers/simplify-remove-ignored

Support ignored tags as preprocessing pass. Closes #261.

10 years agoMerge pull request #271 from ds82/gh-pages
Juriy Zaytsev [Mon, 22 Sep 2014 13:55:35 +0000 (15:55 +0200)]
Merge pull request #271 from ds82/gh-pages

Handle custom attributes with empty values. Closes #270

10 years agoHandle custom attributes with empty values, fixes #270
Dennis Saenger [Fri, 19 Sep 2014 07:49:26 +0000 (09:49 +0200)]
Handle custom attributes with empty values, fixes #270

10 years agoUpdate devDependencies.
XhmikosR [Sat, 20 Sep 2014 06:33:00 +0000 (09:33 +0300)]
Update devDependencies.

10 years agoSupport ignored tags as preprocessing pass
Duncan Beevers [Tue, 16 Sep 2014 18:14:37 +0000 (13:14 -0500)]
Support ignored tags as preprocessing pass

10 years agoCertain options are pretty safe by now
kangax [Fri, 19 Sep 2014 11:28:12 +0000 (13:28 +0200)]
Certain options are pretty safe by now

10 years agoUpdate cleancss-browser.js to v2.2.16.
XhmikosR [Wed, 17 Sep 2014 08:45:27 +0000 (11:45 +0300)]
Update cleancss-browser.js to v2.2.16.

10 years agoUpdate README.md
Juriy Zaytsev [Tue, 16 Sep 2014 13:49:49 +0000 (17:49 +0400)]
Update README.md

10 years agoUpdate README.md
Juriy Zaytsev [Tue, 16 Sep 2014 13:49:20 +0000 (17:49 +0400)]
Update README.md

10 years agoAdded preserveLineBreaks to the CLI help
Laurent Goderre [Fri, 12 Sep 2014 21:37:18 +0000 (17:37 -0400)]
Added preserveLineBreaks to the CLI help

10 years agoMerge pull request #260 from stevenvachon/patch-1
Juriy Zaytsev [Sat, 6 Sep 2014 15:21:08 +0000 (19:21 +0400)]
Merge pull request #260 from stevenvachon/patch-1

v0.6.7 changelog update

10 years agoUpdate CHANGELOG.md
Steven Vachon [Sat, 6 Sep 2014 14:49:52 +0000 (10:49 -0400)]
Update CHANGELOG.md

10 years agoUpdate CHANGELOG.md
Steven Vachon [Sat, 6 Sep 2014 13:47:16 +0000 (09:47 -0400)]
Update CHANGELOG.md

10 years agoMerge pull request #259 from LaurentGoderre/preserve-lb-comments
Juriy Zaytsev [Thu, 4 Sep 2014 17:54:13 +0000 (21:54 +0400)]
Merge pull request #259 from LaurentGoderre/preserve-lb-comments

Added the preserveLineBreaks options to comments

10 years agoAdded the preserveLineBreaks options to comments
Laurent Goderre [Thu, 4 Sep 2014 17:29:13 +0000 (13:29 -0400)]
Added the preserveLineBreaks options to comments

10 years agoFix links in changelog
kangax [Thu, 4 Sep 2014 11:00:21 +0000 (15:00 +0400)]
Fix links in changelog

10 years agoindex.html: minor tweaks.
XhmikosR [Wed, 3 Sep 2014 16:19:43 +0000 (19:19 +0300)]
index.html: minor tweaks.

10 years agoUpdate cleancss-browser.js to v2.2.15.
XhmikosR [Wed, 3 Sep 2014 16:05:31 +0000 (19:05 +0300)]
Update cleancss-browser.js to v2.2.15.

10 years agoUpdate dependencies.
XhmikosR [Sun, 31 Aug 2014 07:02:33 +0000 (10:02 +0300)]
Update dependencies.

10 years agoMerge pull request #256 from LaurentGoderre/v0.6.8
Juriy Zaytsev [Wed, 3 Sep 2014 15:00:22 +0000 (19:00 +0400)]
Merge pull request #256 from LaurentGoderre/v0.6.8

Bump to v0.6.8

10 years agoBump to v0.6.8
Laurent Goderre [Wed, 3 Sep 2014 13:30:21 +0000 (09:30 -0400)]
Bump to v0.6.8

10 years agoMerge pull request #255 from LaurentGoderre/preserve-linebreaks
Juriy Zaytsev [Tue, 2 Sep 2014 15:26:15 +0000 (19:26 +0400)]
Merge pull request #255 from LaurentGoderre/preserve-linebreaks

Unified the preserveLineBreak(s) option naming

10 years agoUnified the preserveLineBreak(s) option naming
Laurent Goderre [Tue, 2 Sep 2014 15:18:02 +0000 (11:18 -0400)]
Unified the preserveLineBreak(s) option naming

10 years agoVersion 0.6.7
kangax [Tue, 2 Sep 2014 14:02:37 +0000 (18:02 +0400)]
Version 0.6.7

10 years agoMerge pull request #250 from duncanbeevers/enumerate-draggable-attribute
Juriy Zaytsev [Tue, 2 Sep 2014 13:44:56 +0000 (17:44 +0400)]
Merge pull request #250 from duncanbeevers/enumerate-draggable-attribute

draggable is enumerated attribute, `auto` default

10 years agoMerge pull request #251 from duncanbeevers/empty-script
Juriy Zaytsev [Tue, 2 Sep 2014 13:44:17 +0000 (17:44 +0400)]
Merge pull request #251 from duncanbeevers/empty-script

Empty script element with src attribute is now preserved

10 years agoMerge pull request #252 from duncanbeevers/short-circuit
Juriy Zaytsev [Tue, 2 Sep 2014 13:43:41 +0000 (17:43 +0400)]
Merge pull request #252 from duncanbeevers/short-circuit

Short-circuit corpus scan

10 years agoTest preservation of script element with src attr
Duncan Beevers [Tue, 2 Sep 2014 13:28:24 +0000 (08:28 -0500)]
Test preservation of script element with src attr

10 years agoShort-circuit corpus scan
Duncan Beevers [Tue, 2 Sep 2014 13:12:20 +0000 (08:12 -0500)]
Short-circuit corpus scan

10 years agoscript element with src must be preserved
Duncan Beevers [Tue, 2 Sep 2014 11:33:19 +0000 (06:33 -0500)]
script element with src must be preserved

10 years agoPush tag and attrs to stack
Duncan Beevers [Tue, 2 Sep 2014 04:26:39 +0000 (23:26 -0500)]
Push tag and attrs to stack

10 years agodraggable is enumerated attribute, `auto` default
Duncan Beevers [Tue, 2 Sep 2014 03:15:09 +0000 (22:15 -0500)]
draggable is enumerated attribute, `auto` default

10 years agoPush to stack after attribute processing
Duncan Beevers [Tue, 2 Sep 2014 04:24:08 +0000 (23:24 -0500)]
Push to stack after attribute processing

10 years agoUnconditionally normalize attributes
Duncan Beevers [Tue, 2 Sep 2014 04:22:29 +0000 (23:22 -0500)]
Unconditionally normalize attributes

10 years agoMerge pull request #247 from shoja/gh-pages
Juriy Zaytsev [Sat, 30 Aug 2014 17:55:54 +0000 (21:55 +0400)]
Merge pull request #247 from shoja/gh-pages

Do not treat draggable as a boolean attribute.

10 years agoUpstream changes.
James Shore [Sat, 30 Aug 2014 17:31:13 +0000 (13:31 -0400)]
Upstream changes.

10 years agoMerge pull request #246 from LaurentGoderre/preserve-linebreaks
Juriy Zaytsev [Sat, 30 Aug 2014 11:51:23 +0000 (15:51 +0400)]
Merge pull request #246 from LaurentGoderre/preserve-linebreaks

Added option to preserve a single line break on collapse

10 years agoAdded option to preserve a single line break on collapse
Laurent Goderre [Fri, 29 Aug 2014 19:18:21 +0000 (15:18 -0400)]
Added option to preserve a single line break on collapse
This improves legibility of the HTML without affecting the compression and only slightly affecting the gzipping

10 years agoDo not treat draggable as a boolean attribute.
James Shore [Thu, 28 Aug 2014 20:12:21 +0000 (16:12 -0400)]
Do not treat draggable as a boolean attribute.

10 years agoUpdate QUnit to v1.15.0.
XhmikosR [Wed, 27 Aug 2014 18:21:00 +0000 (21:21 +0300)]
Update QUnit to v1.15.0.

10 years agoUpdate cleancss-browser.js to v2.2.14.
XhmikosR [Tue, 26 Aug 2014 10:08:23 +0000 (13:08 +0300)]
Update cleancss-browser.js to v2.2.14.

10 years agoUpdate dependencies.
XhmikosR [Fri, 22 Aug 2014 16:26:19 +0000 (19:26 +0300)]
Update dependencies.

10 years agoAdd support for customAttrCollapse. Closes #98
kangax [Mon, 25 Aug 2014 12:48:18 +0000 (14:48 +0200)]
Add support for customAttrCollapse. Closes #98

10 years agoMerge pull request #244 from duncanbeevers/remove-empty-valueless
Juriy Zaytsev [Sun, 24 Aug 2014 11:49:23 +0000 (13:49 +0200)]
Merge pull request #244 from duncanbeevers/remove-empty-valueless

Remove removable attrs with unspecified values

10 years agoMerge pull request #245 from duncanbeevers/collapse-boolean-case-sensitivity
Juriy Zaytsev [Sun, 24 Aug 2014 11:35:41 +0000 (13:35 +0200)]
Merge pull request #245 from duncanbeevers/collapse-boolean-case-sensitivity

collapseBoolean case-sensitivity

10 years agocollapseBoolean case-sensitivity
Duncan Beevers [Sun, 24 Aug 2014 10:18:58 +0000 (05:18 -0500)]
collapseBoolean case-sensitivity

10 years agoRemove removable attrs with unspecified values
Duncan Beevers [Sun, 24 Aug 2014 08:32:14 +0000 (03:32 -0500)]
Remove removable attrs with unspecified values

10 years agoRun grunt.
XhmikosR [Thu, 21 Aug 2014 05:51:19 +0000 (08:51 +0300)]
Run grunt.

10 years agoMerge pull request #241 from duncanbeevers/readme-cleanup
Juriy Zaytsev [Wed, 20 Aug 2014 23:06:17 +0000 (01:06 +0200)]
Merge pull request #241 from duncanbeevers/readme-cleanup

Readme cleanup

10 years agoBitDeli is not so useful
Duncan Beevers [Wed, 20 Aug 2014 22:43:28 +0000 (17:43 -0500)]
BitDeli is not so useful

http://blog.bitdeli.com/post/77717727361/on-githubs-image-proxy

10 years agogzip benchmarks are not separate
Duncan Beevers [Wed, 20 Aug 2014 22:42:42 +0000 (17:42 -0500)]
gzip benchmarks are not separate

10 years agoMerge pull request #239 from duncanbeevers/gzip-benchmark
Juriy Zaytsev [Wed, 20 Aug 2014 22:16:34 +0000 (00:16 +0200)]
Merge pull request #239 from duncanbeevers/gzip-benchmark

Gzip benchmark

10 years agoMerge pull request #238 from duncanbeevers/quote-terminal-attribute-values-self-closing
Juriy Zaytsev [Wed, 20 Aug 2014 21:36:19 +0000 (23:36 +0200)]
Merge pull request #238 from duncanbeevers/quote-terminal-attribute-values-self-closing

Quote terminal attribute value for unary slash elements

10 years agoTuck away generated benchmark artifacts
Duncan Beevers [Wed, 20 Aug 2014 20:58:52 +0000 (15:58 -0500)]
Tuck away generated benchmark artifacts

10 years agoInclude gzip in benchmarks
Duncan Beevers [Wed, 20 Aug 2014 19:52:19 +0000 (14:52 -0500)]
Include gzip in benchmarks

Gzip original corpus
Gzip minified corpus
Compare original gzip size to minified gzip size
Eliminate averages (size/time) from output

10 years agoadd commands for running benchamrks to README.md
Rafał Pocztarski [Tue, 29 Jul 2014 11:18:33 +0000 (13:18 +0200)]
add commands for running benchamrks to README.md

10 years agochange gzip-benchmark.js to use gzipped files for stats
Rafał Pocztarski [Tue, 29 Jul 2014 11:01:09 +0000 (13:01 +0200)]
change gzip-benchmark.js to use gzipped files for stats

10 years agoadd gzip-benchmark-minify utility script
Rafał Pocztarski [Tue, 29 Jul 2014 10:59:53 +0000 (12:59 +0200)]
add gzip-benchmark-minify utility script

10 years agocopy benchmark.js to gzip-benchmark.js
Rafał Pocztarski [Tue, 29 Jul 2014 10:58:44 +0000 (12:58 +0200)]
copy benchmark.js to gzip-benchmark.js

10 years agoMerge pull request #240 from duncanbeevers/remove-htmlmin-comments
Juriy Zaytsev [Wed, 20 Aug 2014 20:44:55 +0000 (22:44 +0200)]
Merge pull request #240 from duncanbeevers/remove-htmlmin-comments

removeComments affects htmlmin:ignore comments

10 years agoremoveComments affects htmlmin:ignore comments
Duncan Beevers [Wed, 20 Aug 2014 20:39:08 +0000 (15:39 -0500)]
removeComments affects htmlmin:ignore comments

10 years agoMerge pull request #237 from duncanbeevers/case-insensitive-closing-tag
Juriy Zaytsev [Wed, 20 Aug 2014 18:59:58 +0000 (20:59 +0200)]
Merge pull request #237 from duncanbeevers/case-insensitive-closing-tag

closing tag search is case-insensitive

10 years agoQuote terminal attribute value by unary slash
Duncan Beevers [Wed, 20 Aug 2014 17:06:23 +0000 (12:06 -0500)]
Quote terminal attribute value by unary slash

10 years agoclosing tag search is case-insensitive
Duncan Beevers [Wed, 20 Aug 2014 16:45:28 +0000 (11:45 -0500)]
closing tag search is case-insensitive

10 years agoMerge pull request #235 from radkodinev/update-readme-documentation
Juriy Zaytsev [Tue, 19 Aug 2014 19:27:43 +0000 (21:27 +0200)]
Merge pull request #235 from radkodinev/update-readme-documentation

Document removeScriptTypeAttributes, removeStyleLinkTypeAttributes, removeIgnored

10 years agoDocument removeScriptTypeAttributes, removeStyleLinkTypeAttributes, removeIgnored
Radko Dinev [Tue, 19 Aug 2014 19:10:16 +0000 (22:10 +0300)]
Document removeScriptTypeAttributes, removeStyleLinkTypeAttributes, removeIgnored

10 years agoUpdate cleancss-browser.js to v2.2.13.
XhmikosR [Sat, 16 Aug 2014 06:06:08 +0000 (09:06 +0300)]
Update cleancss-browser.js to v2.2.13.

10 years agoMerge pull request #232 from shinnn/gh-pages
Juriy Zaytsev [Fri, 15 Aug 2014 15:20:15 +0000 (17:20 +0200)]
Merge pull request #232 from shinnn/gh-pages

Use native Array#reduce instead of _.reduce

10 years agoUse native Array#reduce instead of _.reduce
shinnn [Fri, 15 Aug 2014 14:45:29 +0000 (23:45 +0900)]
Use native Array#reduce instead of _.reduce

Underscore.js is unnecessary in this case.

10 years agoMerge pull request #223 from stevenvachon/gh-pages
Juriy Zaytsev [Tue, 5 Aug 2014 20:04:48 +0000 (22:04 +0200)]
Merge pull request #223 from stevenvachon/gh-pages

Add support for minifying URLs

10 years agominify urls
Steven Vachon [Tue, 5 Aug 2014 19:04:55 +0000 (15:04 -0400)]
minify urls