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

app/helpers/application_helper.rb

index 884f9f5f637ac3858eb7cda256afcef2f03a2ede..44c21e81be33b1929dd68dc94cfe2957a0a3fab2 100644 (file)
@@ -289,7 +289,7 @@ module ApplicationHelper
     principals.sort.each do |principal|
       s << "<label>#{ check_box_tag name, principal.id, false } #{h principal}</label>\n"
     end
-    s
+    s.html_safe
   end
 
   # Returns a string for users/groups option tags