Ruby on Rails Thursday, March 5, 2015

Hi All,

I want to escape some of my email contents which are all having special characters such as below, what is best way to do it, html_safe, h, & raw didnt escape the HTML characters in mailer views.

"password<>"  "password<br><d>test"
regards,
Loganathan
Mob: +91 7760780741 | +91 9944414388
Skype: loganathan.sellappa
ViewMe

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAD_i5MHsyArNH-dAesJN0BJAwdkRC1JzR-XNbwVA5Tq4nuCOFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment