# Preventing Someone From Inserting Certain Tags Within A Field

**URL:** <https://www.ruby-forum.com/t/preventing-someone-from-inserting-certain-tags-within-a-field/130585>\
**Category:** Rails\
**Created:** [February 29, 2008, 4:48pm UTC](https://www.ruby-forum.com/t/preventing-someone-from-inserting-certain-tags-within-a-field/130585 "2008-02-29T16:48:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/59ef9b/32.png) [@johnk](https://www.ruby-forum.com/u/johnk)\
**Post date:** [February 29, 2008, 4:48pm UTC](https://www.ruby-forum.com/t/preventing-someone-from-inserting-certain-tags-within-a-field/130585/1 "2008-02-29T16:48:40Z")

</div>

I have seen this before but I can’t seem to find it now. Can anyone  
suggest  
a plugin or gem that validates that certain fields don’t include certain  
tags or only include certain tags? 🙂  
Thanks! 🙂

–  
John K.  
removed\_email\_address@domain.invalid

Blog: [http://www.kopanas.com](http://www.kopanas.com)  
Conference: [http://www.cusec.net](http://www.cusec.net)  
Twits: [http://www.twitter.com/kopanas](http://www.twitter.com/kopanas)
