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
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 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 <
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs