Whistler is a markup white list filter. It's based on the specs of Rick Olson's WhiteList rails plugin and runs on hpricot.
Usage is super simple. You can either include it into your model, or use it directly.
Whistler.white_list(markup_string)That's it. There are ways of using different tags and attributes on each call. Check out the source at http://github.com/hassox/whistler
0 comments:
Post a Comment