This implements the filter_html() helper with the default profile. Try throwing in some attributes if you want to see the Magic™ at work. They'll be gone! Poof.
See this page for details.