On Feb 4, 9:11 pm, Philip Hallstrom <phi...@pjkh.com> wrote:

> > <%=h @notification.message %>
>
> Don't escape it.  h is an alias for html_escape which (for 2.3.2) does  
> this on the argument:


To be quite precise, only use h (that is, html_escape) if the output
is html. While your template is a .rhtml, you are telling mail clients
that you are sending plain text.

Fred

-- 
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-t...@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.

Reply via email to