Sanatize HTML to prevent XSS attacks.
See README.md http://github.com/gregwebs/haskell-xss-sanitize for more details.
Sanitize HTML to prevent XSS attacks. This is equivalent to
Sanitize HTML to prevent XSS attacks and also make sure the tags are balanced.
This is equivalent to
filterTags (balanceTags . safeTags).
Parse the given text to a list of tags, apply the given filtering function, and render back to HTML.
You can insert your own custom filtering but make sure you compose your filtering function with
Filters out any usafe tags and attributes. Use with filterTags to create a custom filter.
low-level API if you have your own HTML parser. Used by safeTags.