[Rails] Re: " appearing in email

2010-02-05 Thread Jay Dev
Frederick Cheung wrote: > On Feb 4, 9:11�pm, Philip Hallstrom 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.

[Rails] Re: " appearing in email

2010-02-04 Thread Frederick Cheung
On Feb 4, 9:11 pm, Philip Hallstrom 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