Description
Sanitizes untrusted HTML to reduce cross-site scripting risk in Haskell applications. Sanitizing removes or filters dangerous markup before content is shown in a browser.
It is useful for comments, rich-text fields, imported HTML, previews, and web applications that display user-supplied content. It should be combined with output escaping, strict policies, and security testing because sanitizers are part of a wider defense.