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
This commit is contained in:
Toshi MARUYAMA 2011-08-20 10:51:38 +00:00
parent 86379d8203
commit e1d7cf27bf

View File

@ -209,7 +209,7 @@ module ApplicationHelper
flash.each do |k,v| flash.each do |k,v|
s << content_tag('div', v, :class => "flash #{k}") s << content_tag('div', v, :class => "flash #{k}")
end end
s s.html_safe
end end
# Renders tabs and their content # Renders tabs and their content