Ok just found that now I have to add 'html' to all I18n keys that use html in their translations for this to work properly...
While I can understand this approach, it's quite annoying when migrating an app from a previous version :( Le mercredi 26 mai 2010 18:13:39, Loïc Guitaut a écrit : > Hi all! > > I'm having some troubles since I'm using rails 2.3.8 and XSS plugin. All > data from I18n yaml files is now escaped! That's not what I want, and it > seems pretty logic that data from these files should be safe for html. > > So my question is: how do I do that please? I already tried with an > initializer and alias_method_chain on the I18n module translate method, but > so far no luck (works great in console but not in views...) > > Thanks! -- ,= ,-_-. =. Loïc Guitaut ((_/)o o(\_)) http://www.belfalas.org `-'(. .)`-' Jabber ID : [email protected] \_/ GnuPG KeyID : 0xA78CD85D
signature.asc
Description: This is a digitally signed message part.

