summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-10-12 17:39:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-10-12 17:39:52 +0000
commit37228fed86fe8dbec1e82aac893c480a5db481dc (patch)
treedefbf2e40ce6462f1b0baa808ccac6323de673fa /app
parentdd9c0a8263dce6e4c8d2dc353b2f5509b2b2de71 (diff)
downloadredmine-37228fed86fe8dbec1e82aac893c480a5db481dc.tar.gz
redmine-37228fed86fe8dbec1e82aac893c480a5db481dc.zip
Merged r16971 (#27186).
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@16972 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/issues/_list.html.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/issues/_list.html.erb b/app/views/issues/_list.html.erb
index 5488fb295..8024a6948 100644
--- a/app/views/issues/_list.html.erb
+++ b/app/views/issues/_list.html.erb
@@ -31,7 +31,9 @@
<% end %>
<tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
<td class="checkbox hide-when-print"><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></td>
- <%= raw query.inline_columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, issue)}</td>"}.join %>
+ <% query.inline_columns.each do |column| %>
+ <%= content_tag('td', column_content(column, issue), :class => column.css_classes) %>
+ <% end %>
</tr>
<% query.block_columns.each do |column|
if (text = column_content(column, issue)) && text.present? -%>