Off the top of my head a solution to this is using a translation file,
it doesn't get escaped AFAIK:

http://guides.rubyonrails.org/i18n.html

HTH,
Nicholas


On Aug 23, 4:22 pm, James Englert <[email protected]> wrote:
> Hey All,
>
> Rails escapes HTML in error message.  Does anyone know a way to print an
> error message without it being escaped?  Consider:
>
> errors.add_to_base 'Sorry, we were unable to parse the feed you provided.
> Please double check the URL you have provided. Email the <a href="mailto:
> [email protected]">webmaster</a> for more information.'
>
> Thanks in advance,
> Jimhttp://www.thepeoplesfeed.com/contribute
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to