html-minifier.git
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

10 years agoMerge pull request #221 from Expensify/jsTemplates
Juriy Zaytsev [Sun, 3 Aug 2014 19:52:50 +0000 (21:52 +0200)]
Merge pull request #221 from Expensify/jsTemplates

Add support for JavaScript templates in the GUI.

10 years agoAdd support for JS templates to the GUI
Thomas Genin [Fri, 1 Aug 2014 06:46:19 +0000 (23:46 -0700)]
Add support for JS templates to the GUI

Add UI for JS templates

Remove useless code

restore minify script

10 years agoUpdate cleancss-browser.js to v2.2.12.
XhmikosR [Sun, 3 Aug 2014 08:57:48 +0000 (11:57 +0300)]
Update cleancss-browser.js to v2.2.12.

10 years agoUpdate README.md.
XhmikosR [Thu, 31 Jul 2014 17:11:46 +0000 (20:11 +0300)]
Update README.md.

10 years agoUpdate README.md.
XhmikosR [Thu, 31 Jul 2014 17:06:54 +0000 (20:06 +0300)]
Update README.md.

10 years agoRun `grunt`.
XhmikosR [Thu, 31 Jul 2014 16:55:16 +0000 (19:55 +0300)]
Run `grunt`.

10 years agoUpdate cleancss-browser.js to v2.2.11.
XhmikosR [Thu, 31 Jul 2014 16:54:29 +0000 (19:54 +0300)]
Update cleancss-browser.js to v2.2.11.

10 years agoMerge pull request #212 from tomByrer/patch-1
Juriy Zaytsev [Mon, 28 Jul 2014 13:21:44 +0000 (15:21 +0200)]
Merge pull request #212 from tomByrer/patch-1

<s> has been reinstated

10 years ago<s> has been reinstated
tomByrer [Mon, 28 Jul 2014 13:18:39 +0000 (07:18 -0600)]
<s> has been reinstated

http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-s-element
ref #166

10 years agoRemove i,b,u from linter as problematic. Closes #166
kangax [Mon, 28 Jul 2014 10:08:20 +0000 (12:08 +0200)]
Remove i,b,u from linter as problematic. Closes #166

10 years agoStyle fix
kangax [Sun, 27 Jul 2014 21:30:55 +0000 (23:30 +0200)]
Style fix

10 years agoAdd semicolongs
kangax [Sun, 27 Jul 2014 21:28:33 +0000 (23:28 +0200)]
Add semicolongs

10 years agoAdd maxLineLength option to demo page
kangax [Sun, 27 Jul 2014 19:23:16 +0000 (21:23 +0200)]
Add maxLineLength option to demo page

10 years agoVersion 0.6.6
kangax [Sun, 27 Jul 2014 17:40:43 +0000 (19:40 +0200)]
Version 0.6.6

10 years agoUpdate README
kangax [Sun, 27 Jul 2014 17:37:55 +0000 (19:37 +0200)]
Update README

10 years agoRemove `console.log`
kangax [Sun, 27 Jul 2014 17:35:09 +0000 (19:35 +0200)]
Remove `console.log`

10 years agoFix FF attribute bug
kangax [Sun, 27 Jul 2014 17:34:26 +0000 (19:34 +0200)]
Fix FF attribute bug

10 years agoBuild distribution
kangax [Sun, 27 Jul 2014 16:38:37 +0000 (18:38 +0200)]
Build distribution

10 years agoMerge pull request #210 from duncanbeevers/web-component-polymer
Juriy Zaytsev [Sun, 27 Jul 2014 16:35:38 +0000 (18:35 +0200)]
Merge pull request #210 from duncanbeevers/web-component-polymer

Allow parsing custom attribute-join syntax

10 years agoEmit custom attr assign
Duncan Beevers [Sat, 26 Jul 2014 23:14:16 +0000 (18:14 -0500)]
Emit custom attr assign

10 years agoAccept multiple assignment join regexps
Duncan Beevers [Sat, 26 Jul 2014 22:39:57 +0000 (17:39 -0500)]
Accept multiple assignment join regexps

10 years agoCapture assignment
Duncan Beevers [Sat, 26 Jul 2014 22:35:07 +0000 (17:35 -0500)]
Capture assignment

10 years agoSplay out attribute recognizer
Duncan Beevers [Sat, 26 Jul 2014 21:10:03 +0000 (16:10 -0500)]
Splay out attribute recognizer

10 years agoUpdate node usage
kangax [Sat, 26 Jul 2014 13:01:49 +0000 (15:01 +0200)]
Update node usage

10 years agoUpdate dependencies.
XhmikosR [Fri, 25 Jul 2014 05:32:24 +0000 (08:32 +0300)]
Update dependencies.

10 years agoUpdate cleancss-browser.js to v2.2.9.
XhmikosR [Fri, 25 Jul 2014 05:31:48 +0000 (08:31 +0300)]
Update cleancss-browser.js to v2.2.9.

10 years agoclean-css v2.2.8.
XhmikosR [Wed, 16 Jul 2014 08:32:00 +0000 (11:32 +0300)]
clean-css v2.2.8.

10 years agoWeb lint tests should work now.
XhmikosR [Tue, 15 Jul 2014 18:06:40 +0000 (21:06 +0300)]
Web lint tests should work now.

10 years agoUpdate all dependencies.
XhmikosR [Tue, 15 Jul 2014 17:47:53 +0000 (20:47 +0300)]
Update all dependencies.

clean-css 2.2.7
uglify-js 2.4.15

10 years agoMerge pull request #207 from duncanbeevers/limit-line-length
Juriy Zaytsev [Fri, 11 Jul 2014 18:25:19 +0000 (20:25 +0200)]
Merge pull request #207 from duncanbeevers/limit-line-length

Limit line length

10 years agoRun `grunt`.
Duncan Beevers [Thu, 10 Jul 2014 20:50:50 +0000 (15:50 -0500)]
Run `grunt`.

10 years agoMore flexible cli args
Duncan Beevers [Thu, 10 Jul 2014 20:39:34 +0000 (15:39 -0500)]
More flexible cli args

10 years agoImplement maxLineLength option
Duncan Beevers [Wed, 9 Jul 2014 22:51:11 +0000 (17:51 -0500)]
Implement maxLineLength option

10 years agoUpdate quint, build dist
kangax [Fri, 11 Jul 2014 11:35:40 +0000 (13:35 +0200)]
Update quint, build dist

10 years agoMerge pull request #206 from duncanbeevers/valueless-event-attribute
Juriy Zaytsev [Thu, 10 Jul 2014 21:37:53 +0000 (23:37 +0200)]
Merge pull request #206 from duncanbeevers/valueless-event-attribute

Don’t choke on valueless event attributes

10 years agoDon’t choke on valueless event attributes
Duncan Beevers [Thu, 10 Jul 2014 21:02:10 +0000 (16:02 -0500)]
Don’t choke on valueless event attributes

10 years agoMerge pull request #204 from duncanbeevers/wrapped-attrs
Juriy Zaytsev [Thu, 10 Jul 2014 11:59:06 +0000 (13:59 +0200)]
Merge pull request #204 from duncanbeevers/wrapped-attrs

Add support for multiple attribute-surrounding expressions

10 years agoRun `grunt`.
Duncan Beevers [Wed, 9 Jul 2014 07:13:39 +0000 (02:13 -0500)]
Run `grunt`.

10 years agoMultiple attribute-surrounding expressions
Duncan Beevers [Tue, 8 Jul 2014 18:56:42 +0000 (13:56 -0500)]
Multiple attribute-surrounding expressions

customAttrOpen / customAttrClose replaced by customAttrSurround

customAttrSurround is an array of tuples.
Each tuple represents an open/close regexp pair.

10 years agoRun `grunt`.
XhmikosR [Tue, 8 Jul 2014 17:08:03 +0000 (20:08 +0300)]
Run `grunt`.

10 years agoUpdate cleancss-browser.js to v2.2.6.
XhmikosR [Tue, 8 Jul 2014 16:50:51 +0000 (19:50 +0300)]
Update cleancss-browser.js to v2.2.6.

10 years agoMerge pull request #201 from duncanbeevers/wrapped-attrs
Juriy Zaytsev [Mon, 7 Jul 2014 12:12:28 +0000 (14:12 +0200)]
Merge pull request #201 from duncanbeevers/wrapped-attrs

Attributes can be wrapped with custom markup. Closes #189

10 years agoRemove accidental amazon file
kangax [Sun, 6 Jul 2014 18:30:30 +0000 (20:30 +0200)]
Remove accidental amazon file

10 years agoRun `grunt`.
XhmikosR [Sun, 6 Jul 2014 11:52:52 +0000 (14:52 +0300)]
Run `grunt`.

10 years agoLint cli.js too.
XhmikosR [Sun, 6 Jul 2014 11:47:37 +0000 (14:47 +0300)]
Lint cli.js too.

10 years agoLint benchmark.js too.
XhmikosR [Sun, 6 Jul 2014 11:38:55 +0000 (14:38 +0300)]
Lint benchmark.js too.

10 years agoAdd missing modules needed for running the benchmarks.
XhmikosR [Sun, 6 Jul 2014 11:36:44 +0000 (14:36 +0300)]
Add missing modules needed for running the benchmarks.

10 years ago"grunt-jscs-checker" was renamed to "grunt-jscs".
XhmikosR [Sun, 6 Jul 2014 11:16:11 +0000 (14:16 +0300)]
"grunt-jscs-checker" was renamed to "grunt-jscs".

10 years agoUpdate CHANGELOG.md.
XhmikosR [Sun, 6 Jul 2014 11:13:11 +0000 (14:13 +0300)]
Update CHANGELOG.md.

10 years agoMerge pull request #202 from jshado1/198b
Juriy Zaytsev [Sun, 6 Jul 2014 08:49:23 +0000 (10:49 +0200)]
Merge pull request #202 from jshado1/198b

'caseSensitive' option now applies to tags as well as attributes. Closes #198

10 years ago'caseSensitive' option now applies to tags as well as attributes. Closes #198
Jacob [Sun, 6 Jul 2014 01:07:45 +0000 (18:07 -0700)]
'caseSensitive' option now applies to tags as well as attributes. Closes #198

10 years agoAttributes can be wrapped with custom markup
Duncan Beevers [Sat, 5 Jul 2014 19:18:38 +0000 (14:18 -0500)]
Attributes can be wrapped with custom markup

Allows for recognizing attributes wrapped by handlebars conditionals

<input {{#if condition}}checked{{/if}}>