Rails3: use String#html_safe for parent_project_select_tag() at ProjectsHelper.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6492 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-20 22:52:37 +00:00
parent 336eb04b6d
commit b8d16b9b8d
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ module ProjectsHelper
options = ''
options << "<option value=''></option>" if project.allowed_parents.include?(nil)
options << project_tree_options_for_select(project.allowed_parents.compact, :selected => selected)
content_tag('select', options, :name => 'project[parent_id]', :id => 'project_parent_id')
content_tag('select', options.html_safe, :name => 'project[parent_id]', :id => 'project_parent_id')
end
# Renders a tree of projects as a nested set of unordered lists