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:
parent
86379d8203
commit
e1d7cf27bf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue