From 48fae144032d88e592eac30e8711278073f0ed42 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 1 Jan 2012 06:11:46 +0000 Subject: [PATCH] Rails3: view: html_safe for timelog/report.html.erb Contributed by Eric Cline. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8450 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/timelog/report.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/timelog/report.html.erb b/app/views/timelog/report.html.erb index ddbb71852..029691b16 100644 --- a/app/views/timelog/report.html.erb +++ b/app/views/timelog/report.html.erb @@ -50,7 +50,7 @@ <%= render :partial => 'report_criteria', :locals => {:criterias => @report.criteria, :hours => @report.hours, :level => 0} %> <%= l(:label_total) %> - <%= '' * (@report.criteria.size - 1) %> + <%= ('' * (@report.criteria.size - 1)).html_safe %> <% total = 0 -%> <% @report.periods.each do |period| -%> <% sum = sum_hours(select_hours(@report.hours, @report.columns, period.to_s)); total += sum -%> -- 2.39.5