Permalink
Browse files

Rails3: view: html_safe for principals_options_for_select in Applicat…

…ionHelper

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9462 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information...
1 parent 306af1d commit fcbeee78c10495bfccba3c3d255413949b1e76fa @marutosi marutosi committed Apr 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/helpers/application_helper.rb
@@ -319,7 +319,7 @@ def principals_options_for_select(collection, selected=nil)
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

0 comments on commit fcbeee7

Please sign in to comment.