Validation strip html tags?

Is it possible to get ruby to validate html tags and strip them out or
remove the <, > by them?

Is it possible to get ruby to validate html tags and strip them out or
remove the <, > by them?

http://agilewebdevelopment.com/plugins/acts_as_sanitized