I have string like : '<New guest with special chars>'
Its displaying nice with rails view helper:
h '<New guest with special chars>' => '<New guest with special chars>'
but when I am sending this string to email then its not displaying and seems in firebug like :
'<new chars="" special="" with="" guest=""></new>'
because email treating it as html tag . Anyone has any idea, how to display it properly ?
Any ideas & suggestions would be very welcome .
Now I am able to get the string as desired . I using function to convert my string to escaped one .