rails 2.3.8 and I18n

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!

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 :frowning: