Im pulling some emails off of a server, parsing them with TMail and looping through them in the view and displaying them. My problem is that I want to display the html emails I have but when I put them on the page the <html> and <body> tags of the email Im importing are being injected into my sites html and body tags, which leads to some extremely weird results. If I escape the html via h @mail.body_html, I of course get a garbled mess. Any ideas on how to cut out these tags properly? -- Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---