yesodweb / haskell-xss-sanitize

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

Export clearTags and stops escaping &"<> #27

Closed Skyfold closed 1 year ago

Skyfold commented 2 years ago

Fixes #26 #25

snoyberg commented 2 years ago

It would be great to include some test cases to cover the issues this PR is fixing.

Skyfold commented 2 years ago

Sure, I'll add some this weekend.

Skyfold commented 1 year ago

I added a simple test for not escaping HTML entities for #26.

Since #25 is just a documentation change and exports clearTags, I didn't add a test.

(I do apologize for the delay)