Saturday, October 9, 2010

[Rails] Not escaping arguments passed on to view helpers

I have a json formatted arg that I pass to a view helper, but the HTML
gets escaped. I need it not to. I'm on Rails 2.3.6=8, I've tried using
rails_xss and using raw and html_safe but it doesn't make a
difference. How do I not escape the argument? See
http://gist.github.com/613780 for more details.

Thanks!
Ramon Tayag

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate