xss-sanitize 0.3.7 → 0.3.7.1
raw patch · 3 files changed
+11/−7 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- src/Text/HTML/SanitizeXSS/Css.hs +3/−3
- xss-sanitize.cabal +4/−4
ChangeLog.md view
@@ -1,3 +1,7 @@+# 0.3.7.1++add max height and max width as valid style attributes+ # 0.3.7 clear the contents of style and script tags instead of escaping them
src/Text/HTML/SanitizeXSS/Css.hs view
@@ -114,9 +114,9 @@ "border-left-color", "border-right-color", "border-top-color", "clear", "color", "cursor", "direction", "display", "elevation", "float", "font", "font-family", "font-size", "font-style", "font-variant", "font-weight",- "height", "letter-spacing", "line-height", "overflow", "pause",- "pause-after", "pause-before", "pitch", "pitch-range", "richness",- "speak", "speak-header", "speak-numeral", "speak-punctuation",+ "height", "letter-spacing", "line-height", "max-height", "max-width",+ "overflow", "pause", "pause-after", "pause-before", "pitch", "pitch-range",+ "richness", "speak", "speak-header", "speak-numeral", "speak-punctuation", "speech-rate", "stress", "text-align", "text-decoration", "text-indent", "unicode-bidi", "vertical-align", "voice-family", "volume", "white-space", "width"]
xss-sanitize.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.4.+-- This file has been generated from package.yaml by hpack version 0.35.0. -- -- see: https://github.com/sol/hpack name: xss-sanitize-version: 0.3.7+version: 0.3.7.1 synopsis: sanitize untrusted HTML to prevent XSS attacks description: run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS to prevent XSS attacks. see README.md <http://github.com/yesodweb/haskell-xss-sanitize> for more details category: Web@@ -40,7 +40,7 @@ , css-text >=0.1.1 && <0.2 , network-uri >=2.6 , tagsoup >=0.12.2 && <1- , text >=0.11 && <2+ , text >=0.11 && <2.1 , utf8-string >=0.3 && <1.1 default-language: Haskell2010 @@ -64,6 +64,6 @@ , hspec >=1.3 , network-uri >=2.6 , tagsoup >=0.12.2 && <1- , text >=0.11 && <2+ , text >=0.11 && <2.1 , utf8-string >=0.3 && <1.1 default-language: Haskell2010