Forum: Ruby on Rails Modifying VERBOTEN_TAGS in TextHelper

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Kamil Kisiel (Guest)
on 2005-12-28 21:59
Hello all,

I'm using the sanitize() method from TextHelper in my application, which
appears to use the VERBOTEN_TAGS constant to define which tags to escape
out from the HTML. I'd like to modify VERBOTEN_TAGS to include some more
tags, but I'm not sure where I would place the necessary code in my
rails app. Any ideas?

Thanks,

Kamil
This topic is locked and can not be replied to.