xss-sanitize 0.2.4 → 0.2.5
raw patch · 2 files changed
+2/−18 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Text/HTML/SanitizeXSS.hs +1/−17
- xss-sanitize.cabal +1/−1
Text/HTML/SanitizeXSS.hs view
@@ -16,6 +16,7 @@ import qualified Data.Map as Map -- | santize the html to prevent XSS attacks. See README.md <http://github.com/gregwebs/haskell-xss-sanitize> for more details+sanitize :: String -> String sanitize = sanitizeXSS -- alias of sanitize function@@ -247,21 +248,4 @@ "lime", "maroon", "medium", "none", "navy", "normal", "nowrap", "olive", "pointer", "purple", "red", "right", "solid", "silver", "teal", "top", "transparent", "underline", "white", "yellow"]--}----- I don't know where this is from!--- The rest of pandoc's lists were smaller than the ones in html5lib--- This one is bigger.-{--pandoc_acceptable_protocols = [ "", "http:", "https:", "ftp:", "mailto:", "file:",- "telnet:", "gopher:", "aaa:", "aaas:", "acap:", "cap:", "cid:",- "crid:", "dav:", "dict:", "dns:", "fax:", "go:", "h323:", "im:",- "imap:", "ldap:", "mid:", "news:", "nfs:", "nntp:", "pop:",- "pres:", "sip:", "sips:", "snmp:", "tel:", "urn:", "wais:",- "xmpp:", "z39.50r:", "z39.50s:", "aim:", "callto:", "cvs:",- "ed2k:", "feed:", "fish:", "gg:", "irc:", "ircs:", "lastfm:",- "ldaps:", "magnet:", "mms:", "msnim:", "notes:", "rsync:",- "secondlife:", "skype:", "ssh:", "sftp:", "smb:", "sms:",- "snews:", "webcal:", "ymsgr:"] -}
xss-sanitize.cabal view
@@ -1,5 +1,5 @@ name: xss-sanitize-version: 0.2.4+version: 0.2.5 license: BSD3 license-file: LICENSE author: Greg Weber <greg@gregweber.info>