You should be able to call something like:
clean_html = HTML::Sanitizer.new.sanitize(dirty_html)
On Tue, Mar 24, 2009 at 3:35 PM, Michael Ragalie <
michael.ragalie-8HreIZgDZY1x67MzidHQgQC/G2K4zDHf@public.gmane.org> wrote:
> Hello,
> I used to be able to call sanitize (or h) in helpers. When I updated to
> 2.3.2 it seems like I am no longer able to access helper methods within
> other helpers. Any tips on how I might be able to get this working again?
>
> Thanks,
> -Mike
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---