# Validate That Certain Tags Are Not Apart Of Input

**URL:** <https://www.ruby-forum.com/t/validate-that-certain-tags-are-not-apart-of-input/132541>\
**Category:** Rails\
**Created:** [March 21, 2008, 7:39am UTC](https://www.ruby-forum.com/t/validate-that-certain-tags-are-not-apart-of-input/132541 "2008-03-21T07:39:22Z")\
**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:** [March 21, 2008, 7:39am UTC](https://www.ruby-forum.com/t/validate-that-certain-tags-are-not-apart-of-input/132541/1 "2008-03-21T07:39:22Z")

</div>

Is there a gem/plugin that can be used to validate that no tags where  
submitted as part of a field? A blacklist for XHTML 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)
