This project is archived and is in readonly mode.
Changeset [5208cc3cf5d54720512ff50c2b97e9f4369aaa27] by Craig Davey
Revision 5208cc3cf5d54720512ff50c2b97e9f4369aaa27,
committed by Craig Davey
· April 14th, 2010 @ 01:35 AM
Changed translate helper so that it doesn’t mark every translation as safe HTML. Only keys with a "_html" suffix and keys named "html" are considered to be safe HTML. All other translations are left untouched.
Signed-off-by: David Heinemeier Hansson
david@loudthinking.com
http://github.com/rails/rails/commit/5208cc3cf5d54720512ff50c2b97e9...
4 changed files
-
M
actionpack/CHANGELOG -
M
actionpack/lib/action_view/helpers/translation_helper.rb -
M
actionpack/test/fixtures/test/array_translation.erb -
M
actionpack/test/template/translation_helper_test.rb