From 5208cc3cf5d54720512ff50c2b97e9f4369aaa27 Mon Sep 17 00:00:00 2001 From: Craig Davey Date: Fri, 9 Apr 2010 21:01:32 -0400 Subject: =?UTF-8?q?Changed=20translate=20helper=20so=20that=20it=20doesn?= =?UTF-8?q?=E2=80=99t=20mark=20every=20translation=20as=20safe=20HTML.=20O?= =?UTF-8?q?nly=20keys=20with=20a=20"=5Fhtml"=20suffix=20and=20keys=20named?= =?UTF-8?q?=20"html"=20are=20considered=20to=20be=20safe=20HTML.=20All=20o?= =?UTF-8?q?ther=20translations=20are=20left=20untouched.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: David Heinemeier Hansson --- actionpack/CHANGELOG | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionpack/CHANGELOG') diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index f221661c25..388169d981 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,3 +1,8 @@ +*Rails 3.0.0 [beta 4/release candidate] (unreleased)* + +* 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. [Craig Davey] + + *Rails 3.0.0 [beta 3] (April 13th, 2010)* * New option :as added to form_for allows to change the object name. The old <% form_for :client, @post %> becomes <% form_for @post, :as => :client %> [spastorino] -- cgit v1.2.3