Path: | lib/more/facets/htmlfilter.rb |
Last Update: | Mon Jun 01 21:54:17 -0400 2009 |
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