yesodweb / haskell-xss-sanitize

prevent XSS attacks by sanitizing html (this is different then escaping!)
Other
20 stars 15 forks source link

Support text-2.0 #28

Closed andreasabel closed 2 years ago

andreasabel commented 2 years ago

Currently, text-2.0 is excluded by constraint text < 2.

snoyberg commented 2 years ago

Have you checked if it's compatible with text 2? If so, a PR relaxing the bound is welcome. I'm personally not using text 2 yet.

andreasabel commented 2 years ago

Ok, I checked build and test with text-2.0, and there were no errors.
I went ahead with a revision: https://hackage.haskell.org/package/xss-sanitize-0.3.7/revisions/ I'll submit a PR with the relaxed bound, but there is no need to release this.