Rails3: use String#html_safe for principals_check_box_tags() at ApplicationHelper.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6480 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-20 10:53:50 +00:00
parent 35239bea28
commit e9579b10ba
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ module ApplicationHelper
principals.sort.each do |principal|
s << "<label>#{ check_box_tag name, principal.id, false } #{h principal}</label>\n"
end
s
s.html_safe
end
# Returns a string for users/groups option tags