Posted over 13 years ago. Visible to the public. Linked content.
Sanitize: A whitelist-based Ruby HTML sanitizer
Given a list of acceptable elements and attributes, Sanitize will remove all unacceptable HTML from a string.
Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for unsupported versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2).