# Validation strip html tags?

**URL:** <https://www.ruby-forum.com/t/validation-strip-html-tags/133690>\
**Category:** Rails\
**Created:** [April 2, 2008, 5:20pm UTC](https://www.ruby-forum.com/t/validation-strip-html-tags/133690 "2008-04-02T17:20:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![megax](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/94ad74/32.png) [@megax](https://www.ruby-forum.com/u/megax)\
**Post date:** [April 2, 2008, 5:20pm UTC](https://www.ruby-forum.com/t/validation-strip-html-tags/133690/1 "2008-04-02T17:20:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![megax](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/94ad74/32.png) [@megax](https://www.ruby-forum.com/u/megax)\
**Post date:** [April 2, 2008, 6:14pm UTC](https://www.ruby-forum.com/t/validation-strip-html-tags/133690/2 "2008-04-02T18:14:06Z")

</div>

> 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](http://agilewebdevelopment.com/plugins/acts_as_sanitized)
