Perhaps this snippet will help.
http://www.bigbold.com/snippets/posts/show/535
On 8/3/05, Mike Hearn
<m.hearn-IH7PeJnNIdscfM+Ka2ujKdBPR1lH4CV8@public.gmane.org>
wrote:> Hi,
>
> I''d like to strip markup from a given string. As that''s a
common task I thought
> there''d be a Rails helper for it, but I can''t seem to
find one. Does it need to
> be written or am I just looking in the wrong place?
>
> thanks -mike
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>