Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove comment

  • Loading branch information...
commit 5dbc1428a8cf917df6f6f6fef8c649152af221d5 1 parent c9765da
Greg Weber authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Text/HTML/SanitizeXSS.hs
2  Text/HTML/SanitizeXSS.hs
View
@@ -12,7 +12,7 @@ import Codec.Binary.UTF8.String ( encodeString, decodeString )
sanitizeXSS :: String -> String
sanitizeXSS = renderTagsOptions renderOptions {
optMinimize = \x -> x `elem` ["br","img"]
- } . safeTags . parseTags -- Options parseOptions { optTagPosition = True }
+ } . safeTags . parseTags
where
safeTags :: [Tag String] -> [Tag String]
safeTags [] = []
Please sign in to comment.
Something went wrong with that request. Please try again.