Topic: WhiteList Plugin Woes

I'm trying to use the WhiteList plugin to expunge user input of HTML.  I really don't want the user to have access to any element except the paragraph ("p") element.  I'm having a little trouble figuring this plugin out.  Does anyone have any articles on how to properly use this plugin?  I'm having a little trouble discerning between the point of the "tags" variable and the "bad_tags" variable.

Any help would be appreciated.

Re: WhiteList Plugin Woes

I believe I've answered my own question.  Hooray for trial and error!  Here's what I've come up with:

WhiteListHelper.bad_tags.merge %w[a]
WhiteListHelper.tags.subtract(WhiteListHelper.tags - %w[p])

Anything not listed in WhiteListHelper.tags is escaped, and anything in WhiteListHelper.bad_tags is excised from the input.