From: Radko Dinev Date: Tue, 19 Aug 2014 19:10:16 +0000 (+0300) Subject: Document removeScriptTypeAttributes, removeStyleLinkTypeAttributes, removeIgnored X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=23effd4a012090f9c241f985bda0b14a0eb1a8ef;p=html-minifier.git Document removeScriptTypeAttributes, removeStyleLinkTypeAttributes, removeIgnored --- diff --git a/README.md b/README.md index ed40cf1..cf754d7 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,10 @@ How does HTMLMinifier compare to [another solution](http://www.willpeavy.com/min | `removeRedundantAttributes` | [Remove attributes when value matches default.](http://perfectionkills.com/experimenting-with-html-minifier/#remove_redundant_attributes) | `false` | | `useShortDoctype` | [Replaces the doctype with the short (HTML5) doctype](http://perfectionkills.com/experimenting-with-html-minifier/#use_short_doctype) | `false` | | `removeEmptyAttributes` | [Remove all attributes with whitespace-only values](http://perfectionkills.com/experimenting-with-html-minifier/#remove_empty_or_blank_attributes) | `false` | +| `removeScriptTypeAttributes` | Remove `type="text/javascript"` from `script` tags. Other `type` attribute values are left intact. | `false` | +| `removeStyleLinkTypeAttributes`| Remove `type="text/css"` from `style` and `link` tags. Other `type` attribute values are left intact. | `false` | | `removeOptionalTags` | [Remove unrequired tags](http://perfectionkills.com/experimenting-with-html-minifier/#remove_optional_tags) | `false` | +| `removeIgnored` | Remove all tags starting and ending with `<%`, `%>`, `` | `false` | | `removeEmptyElements` | [Remove all elements with empty contents](http://perfectionkills.com/experimenting-with-html-minifier/#remove_empty_elements) | `false` | | `lint` | [Toggle linting](http://perfectionkills.com/experimenting-with-html-minifier/#validate_input_through_html_lint) | `false` | | `keepClosingSlash` | Keep the trailing slash on singleton elements | `false` |