Extra Credit

sanitize

Sanitize is an allowlist-based HTML and CSS sanitizer. It removes all HTML and/or CSS from a string except the elements, attributes, and pro

$gem install sanitize

Official docs outline

Extra Credit builds an outline of sanitize's docs the first time your work uses it. Until then, start at the official documentation.

All 3,925