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

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6478 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-20 10:52:52 +00:00
parent 80638bce45
commit d5e5ab5e2f
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ module ApplicationHelper
tag_options.merge!(yield(project)) if block_given?
s << content_tag('option', name_prefix + h(project), tag_options)
end
s
s.html_safe
end
# Yields the given block for each project with its level in the tree