]> source.dussan.org Git - redmine.git/commitdiff
Fixed escaping issue with Rails 3.1.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Feb 2012 09:37:18 +0000 (09:37 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Feb 2012 09:37:18 +0000 (09:37 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8990 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/queries_helper.rb

index bead33315e278424f978ad366bd3ed3736275562..b759b7a7aee9f77b6b6b1a200a975ab4da213c5e 100644 (file)
@@ -32,7 +32,7 @@ module QueriesHelper
   def column_content(column, issue)
     value = column.value(issue)
     if value.is_a?(Array)
-      value.collect {|v| column_value(column, issue, v)}.compact.sort.join(', ')
+      value.collect {|v| column_value(column, issue, v)}.compact.sort.join(', ').html_safe
     else
       column_value(column, issue, value)
     end