Quarantining crap HTML?

Denny 2013 at denny.me
Tue May 21 14:18:45 BST 2013


On Tue, 2013-05-21 at 13:00 +0000, dave.lambley at gmail.com wrote:
> I did a thing about 10 years ago using HTML::TreeBuilder to 
> remove elements and attributes which aren't on a whitelist.

There's a module for that.  Well, several actually, but I settled on
HTML::Restrict when I was looking at them for ShinyCMS last year.




More information about the london.pm mailing list