README 增加allowCommentTag选项的说明

This commit is contained in:
Zongmin Lei
2014-04-03 12:16:20 +08:00
parent bd7501bd6d
commit 1291fa1341
2 changed files with 42 additions and 0 deletions

View File

@@ -291,6 +291,27 @@ would output filtered:
code:
```
#### Filter out HTML comments
By using `allowCommentTag` parameter:
+ `true`: do nothing
+ `false` by default: filter out HTML comments
Example:
If `allowCommentTag = false` is set, the following code:
```HTML
code:<!-- something --> END
```
would output filtered:
```HTML
code: END
```
## Examples