[racket-users] HTML sanitization

2016-07-20 Thread Neil Van Dyke
Has anyone written an HTML sanitizer in Racket? Mine isn't available (it was a simple use of one of my XML transformation DSLs that wasn't released). Writing a simple one from scratch is easy, as you said. Possibly easy enough that it's less work to do yourself, rather than try someone els

[racket-users] HTML sanitization

2016-07-16 Thread Alexis King
Has anyone written an HTML sanitizer in Racket? A naïve one is not too difficult, given that it’s possible to create a very simple whitelist of elements and attributes, but getting it completely right isn’t as easy at it seems. For example, I’d like to allow elements for the most part, but I’d sti