]> source.dussan.org Git - redmine.git/commitdiff
Rails3: use String#html_safe for render_project_hierarchy() at ProjectsHelper.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 20 Aug 2011 22:53:01 +0000 (22:53 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 20 Aug 2011 22:53:01 +0000 (22:53 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6493 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/projects_helper.rb

index f26e7b9d8579f6a51286e35b036e6c0a47ea238c..2ba14bef4cbb5b65d2118392809076dd11504f40 100644 (file)
@@ -80,7 +80,7 @@ module ProjectsHelper
       s << ("</li></ul>\n" * ancestors.size)
       @project = original_project
     end
-    s
+    s.html_safe
   end
 
   # Returns a set of options for a select field, grouped by project.