-- | 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
sanitizeBalance :: Text -> Text
sanitizeBalance = filterTags (balance Map.empty . mapMaybe safeTags)
sanitizeBalance :: Text -> Text
sanitizeBalance = filterTags (balance Map.empty . mapMaybe safeTags)
sanitizeBalance = filterTags (balance Map.empty . mapMaybe safeTags)