Question

can anyone tell me if it is normal and OK for Rails to turn a normal quotation mark (") into & q u o t ; (and not keep the normal quotation mark) when it is html_escape-d in an email view?

I.e.:

h(whatever_text_that_contains_normal_quotation_marks) in an email view "signup_mail.erb".

Because that would mean that email content could not be completely escaped, right?

Thanks for any hints!

Tom

Was it helpful?

Solution

Well, since Rails 3 does h() all by itself, the question is no longer valid.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top