> The problem is that Rails sanitizes the images so it gets rendered as: > > <img src=... /> > > I could use html_safe, but that's painful and makes my code less > readable. > I do not have an actual solution for you but maybe these links are helpful: http://blog.plataformatec.com.br/tag/sanitize/ http://api.rubyonrails.org/classes/ActionView/Helpers/SanitizeHelper.html
-- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

