remove comment
This commit is contained in:
parent
c9765daaed
commit
5dbc1428a8
@ -12,7 +12,7 @@ import Codec.Binary.UTF8.String ( encodeString, decodeString )
|
|||||||
sanitizeXSS :: String -> String
|
sanitizeXSS :: String -> String
|
||||||
sanitizeXSS = renderTagsOptions renderOptions {
|
sanitizeXSS = renderTagsOptions renderOptions {
|
||||||
optMinimize = \x -> x `elem` ["br","img"]
|
optMinimize = \x -> x `elem` ["br","img"]
|
||||||
} . safeTags . parseTags -- Options parseOptions { optTagPosition = True }
|
} . safeTags . parseTags
|
||||||
where
|
where
|
||||||
safeTags :: [Tag String] -> [Tag String]
|
safeTags :: [Tag String] -> [Tag String]
|
||||||
safeTags [] = []
|
safeTags [] = []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user