This project is archived and is in readonly mode.

Changeset [5208cc3cf5d54720512ff50c2b97e9f4369aaa27] 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...

Committed by Craig Davey

  • 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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>