Sanitize: A whitelist-based Ruby HTML sanitizer

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

Lexy Over 15 years ago