From be0eb54c226337e436c7d07a70f9db2559a54501 Mon Sep 17 00:00:00 2001 From: alexlamsl Date: Thu, 24 Nov 2016 13:54:36 +0800 Subject: [PATCH] mention default option values --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8ed2b4e..3992d90 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,8 @@ How does HTMLMinifier compare to other solutions — [HTML Minifier from Will Pe ## Options Quick Reference +Most of the options are disabled by default. + | Option | Description | Default | |--------------------------------|-----------------|---------| | `caseSensitive` | Treat attributes in case sensitive manner (useful for custom HTML tags) | `false` | @@ -66,7 +68,7 @@ How does HTMLMinifier compare to other solutions — [HTML Minifier from Will Pe | `quoteCharacter` | Type of quote to use for attribute values (' or ") | | | `removeAttributeQuotes` | [Remove quotes around attributes when possible](http://perfectionkills.com/experimenting-with-html-minifier/#remove_attribute_quotes) | `false` | | `removeComments` | [Strip HTML comments](http://perfectionkills.com/experimenting-with-html-minifier/#remove_comments) | `false` | -| `removeEmptyAttributes` | [Remove all attributes with whitespace-only values](http://perfectionkills.com/experimenting-with-html-minifier/#remove_empty_or_blank_attributes) | `false` (could be true, Function(attrName, tag)) | +| `removeEmptyAttributes` | [Remove all attributes with whitespace-only values](http://perfectionkills.com/experimenting-with-html-minifier/#remove_empty_or_blank_attributes) | `false` (could be `true`, `Function(attrName, tag)`) | | `removeEmptyElements` | [Remove all elements with empty contents](http://perfectionkills.com/experimenting-with-html-minifier/#remove_empty_elements) | `false` | | `removeOptionalTags` | [Remove optional tags](http://perfectionkills.com/experimenting-with-html-minifier/#remove_optional_tags) | `false` | | `removeRedundantAttributes` | [Remove attributes when value matches default.](http://perfectionkills.com/experimenting-with-html-minifier/#remove_redundant_attributes) | `false` | -- 2.34.1