Modifying VERBOTEN_TAGS in TextHelper

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?



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs