diff options
author | John MacFarlane <jgm@berkeley.edu> | 2010-12-10 12:26:03 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2010-12-10 12:26:03 -0800 |
commit | 5770ceca36a7ab15ad43b3d949c749f6425ecbcb (patch) | |
tree | 64eb14cbc2c48e2ad8a91976fd7b875f44168fb5 /README | |
parent | 17d48cf4afdbac5da3c0a241dd66dfec93a89b8e (diff) | |
download | pandoc-5770ceca36a7ab15ad43b3d949c749f6425ecbcb.tar.gz |
Removed HTML sanitization.
This is better done on the resulting HTML; use the xss-sanitize library
for this. xss-sanitize is based on pandoc's sanitization, but improves
it.
- Removed stateSanitize from ParserState.
- Removed --sanitize-html option.
Diffstat (limited to 'README')
-rw-r--r-- | README | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -269,12 +269,6 @@ Options : Disable text wrapping in output. By default, text is wrapped appropriately for the output format. -`--sanitize-html` -: Sanitizes HTML (in markdown or HTML input) using a whitelist. - Unsafe tags are replaced by HTML comments; unsafe attributes - are omitted. URIs in links and images are also checked against a - whitelist of URI schemes. - `--email-obfuscation=`*none|javascript|references* : Specify a method for obfuscating `mailto:` links in HTML documents. *none* leaves `mailto:` links as they are. *javascript* obfuscates |