
9 Aug
2011
9 Aug
'11
4:54 p.m.
xss-sanitize is a library that allows you to accept html from untrusted sources by first filtering it through a white list. For example, this allows a web application to safely use a rich text editor or allow html in comments. version 0.3 allows elements to have a style attribute. The css will be parsed and ran through a special css white list. This new version adds a dependency on attoparsec-text This library is used automatically and transparently in Yesod where appropriate, and the new version will be used in the upcoming 0.9 release.