Update README.md
authorJuriy Zaytsev <kangax@gmail.com>
Tue, 27 Oct 2015 16:34:20 +0000 (17:34 +0100)
committerJuriy Zaytsev <kangax@gmail.com>
Tue, 27 Oct 2015 16:34:20 +0000 (17:34 +0100)
README.md

index 27c76c3..b31f4c0 100644 (file)
--- a/README.md
+++ b/README.md
@@ -55,6 +55,7 @@ How does HTMLMinifier compare to other solutions — [HTML Minifier from Will Pe
 | `minifyCSS`                    | Minify CSS in style elements and style attributes (uses [clean-css](https://github.com/GoalSmashers/clean-css)) | `false` (could be `true`, `false`, `Object` (options)) |
 | `minifyURLs`                   | Minify URLs in various attributes (uses [relateurl](https://github.com/stevenvachon/relateurl)) | `false` (could be `Object` (options)) |
 | `ignoreCustomComments`         | Array of regex'es that allow to ignore certain comments, when matched  | `[ ]` |
+| `ignoreCustomFragments`         | Array of regex'es that allow to ignore certain fragments, when matched (e.g. `<?php ... ?>`, `{{ ... }}`, etc.)  | `[ ]` |
 | `processScripts`               | Array of strings corresponding to types of script elements to process through minifier (e.g. `text/ng-template`, `text/x-handlebars-template`, etc.) | `[ ]` |
 | `maxLineLength`                | Specify a maximum line length. Compressed output will be split by newlines at valid HTML split-points. |
 | `customAttrAssign`             | Arrays of regex'es that allow to support custom attribute assign expressions (e.g. `'<div flex?="{{mode != cover}}"></div>'`) | `[ ]` |