]> source.dussan.org Git - redmine.git/commitdiff
Rails3: use String#html_safe for render_flash_messages() at ApplicationHelper.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 20 Aug 2011 10:51:38 +0000 (10:51 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 20 Aug 2011 10:51:38 +0000 (10:51 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6476 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index 6123371b894567d3778e64b84bb8e9acd3ed535c..6300f8c30bc0d985cb1d207965243954ca558426 100644 (file)
@@ -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