Textile - how to onl allow certain tags?


#1

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


#2

On Apr 29, 8:47 am, josh removed_email_address@domain.invalid 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