Path: | lib/more/facets/htmlfilter.rb |
Last Update: | Tue Dec 02 09:46:42 -0500 2008 |
HTML Filter library can be used to sanitize and sterilize HTML. A good idea if you let users submit HTML in comments, for instance.
HtmlFilter is a port of lib_filter.php, v1.15 by Cal Henderson <cal@iamcal.com>
This code is licensed under a Creative Commons Attribution-ShareAlike 2.5 License creativecommons.org/licenses/by-sa/2.5/
Thanks to Jang Kim for adding support for single quoted attributes.
Copyright (c) 2007 7rans