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

app/helpers/application_helper.rb

index 12548866f1b3e9e57a6154648b4461757f248dcb..d154ccd3aa9e184efaf42fb89f7034940c45c531 100644 (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