summaryrefslogtreecommitdiffstats
path: root/app/views/timelog/_report_criteria.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/timelog/_report_criteria.html.erb')
-rw-r--r--app/views/timelog/_report_criteria.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/timelog/_report_criteria.html.erb b/app/views/timelog/_report_criteria.html.erb
index d3239ec01..9a5d142f2 100644
--- a/app/views/timelog/_report_criteria.html.erb
+++ b/app/views/timelog/_report_criteria.html.erb
@@ -2,9 +2,9 @@
<% hours_for_value = select_hours(hours, criterias[level], value) -%>
<% next if hours_for_value.empty? -%>
<tr class="<%= cycle('odd', 'even') %> <%= criterias.length > level+1 ? 'subtotal' : 'last-level' %>">
-<%= '<td></td>' * level %>
+<%= ("<td></td>" * level).html_safe %>
<td><%= h(format_criteria_value(@report.available_criteria[criterias[level]], value)) %></td>
-<%= '<td></td>' * (criterias.length - level - 1) -%>
+<%= ("<td></td>" * (criterias.length - level - 1)).html_safe -%>
<% total = 0 -%>
<% @report.periods.each do |period| -%>
<% sum = sum_hours(select_hours(hours_for_value, @report.columns, period.to_s)); total += sum -%>