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:
parent
80638bce45
commit
d5e5ab5e2f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue