CodeIgniter Forums
CSS Sanitizer? - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: CSS Sanitizer? (/thread-15444.html)

CSS Sanitizer? - El Forum - 02-04-2009

Anyone know of a library that will sanitize CSS to remove javascript and other things that could be a security risk? It looks like HTMLPurifier does at least some and this ruby code would be fairly trivial to port:

Just wondering if anyone has anything they've used before and thought was good. Thanks.