diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-04-21 01:44:38 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-04-21 01:44:38 +0000 |
commit | fcbeee78c10495bfccba3c3d255413949b1e76fa (patch) | |
tree | 976dadf08752c9b3b6e85d6b2034369c1a558604 | |
parent | 306af1d0177ad7aa2690bc9d7aa15d0cf1a656e2 (diff) | |
download | redmine-fcbeee78c10495bfccba3c3d255413949b1e76fa.tar.gz redmine-fcbeee78c10495bfccba3c3d255413949b1e76fa.zip |
Rails3: view: html_safe for principals_options_for_select in ApplicationHelper
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9462 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 0e12d51ee..34f9d1285 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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 |