From e1d7cf27bf66866a44cda027a7f470203f78e6c5 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 20 Aug 2011 10:51:38 +0000 Subject: [PATCH] Rails3: use String#html_safe for render_flash_messages() at ApplicationHelper. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6476 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 6123371b8..6300f8c30 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -209,7 +209,7 @@ module ApplicationHelper flash.each do |k,v| s << content_tag('div', v, :class => "flash #{k}") end - s + s.html_safe end # Renders tabs and their content -- 2.39.5