Safe Haskell | None |
---|
Text.HTML.SanitizeXSS
Documentation
santize the html to prevent XSS attacks. See README.md http://github.com/gregwebs/haskell-xss-sanitize for more details
sanitizeBalance :: Text -> Text
same as sanitize but makes sure there are no lone closing tags. See README.md http://github.com/gregwebs/haskell-xss-sanitize for more details
sanitizeXSS :: Text -> Text
alias of sanitize function
sanitizeAttribute :: (Text, Text) -> Maybe (Text, Text)
low-level API if you have your own HTML parser. Used by safeTags.