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

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