From: Toshi MARUYAMA Date: Sat, 20 Aug 2011 10:51:38 +0000 (+0000) Subject: Rails3: use String#html_safe for render_flash_messages() at ApplicationHelper. X-Git-Tag: 1.3.0~1485 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e1d7cf27bf66866a44cda027a7f470203f78e6c5;p=redmine.git 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 --- 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