Sanitize: A whitelist-based Ruby HTML sanitizer

Updated . Posted . Visible to the public.

Given a list of acceptable elements and attributes, Sanitize will remove all unacceptable HTML from a string.

Last edit
ruby, web
Source code in this card is licensed under the MIT License.
Posted by Lexy to makandra dev (2009-01-02 18:30)