Textile - how to onl allow certain tags?

Hi,

I would like to use textile in my application, but would only like to
allow certain tags, anyone aware of a way of doing this?

Thanks,
Josh

On Apr 29, 8:47 am, josh [email protected] wrote:

Hi,

I would like to use textile in my application, but would only like to
allow certain tags, anyone aware of a way of doing this?

Thanks,
Josh


Posted viahttp://www.ruby-forum.com/.

#sanitize has VERBOTEN_TAGS and VERBOTEN_ATTRS switches:
http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#M000626

OTW, google whitelist:
http://www.kookdujour.com/blog/details/11
http://svn.techno-weenie.net/projects/plugins/white_list

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