]> source.dussan.org Git - redmine.git/commitdiff
Rails3: view: html_safe for principals_options_for_select in ApplicationHelper
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 21 Apr 2012 01:44:38 +0000 (01:44 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 21 Apr 2012 01:44:38 +0000 (01:44 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9462 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index 0e12d51ee30c0751965775de159e20786798b1b2..34f9d12859b007f47c3a68dccdb7b83c591a55b3 100644 (file)
@@ -319,7 +319,7 @@ module ApplicationHelper
     unless groups.empty?
       s << %(<optgroup label="#{h(l(:label_group_plural))}">#{groups}</optgroup>)
     end
-    s
+    s.html_safe
   end
 
   # Truncates and returns the string as a single line