Sanitize within helpers


#1

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


#2

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 <