haskell@gentoo.org Gentoo Haskell run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS to prevent XSS attacks. see README.md <https://github.com/yesodweb/haskell-xss-sanitize> for more details Get Network.URI from the network-uri package. yesodweb/haskell-xss-sanitize