From 8ded341c470dca3af2217380b3cb9545f0fd4cea Mon Sep 17 00:00:00 2001 From: Godwin Date: Tue, 25 Jul 2017 11:34:31 -0700 Subject: [PATCH] Fixed backtrace in error reports --- app/views/user_mailer/error_report.html.haml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/user_mailer/error_report.html.haml b/app/views/user_mailer/error_report.html.haml index 52b82fe..df66497 100644 --- a/app/views/user_mailer/error_report.html.haml +++ b/app/views/user_mailer/error_report.html.haml @@ -1,9 +1,8 @@ %h1=@title %h2 Error details -%code.signature{class: "#{@report.source}-signature"} - = "#{@report.signature.gsub(/\n\s+/, '
 nbsp;')}".html_safe -%code.backtrace{class: "#{@report.source}-backtrace"}=@report.backtrace +%code.signature{class: "#{@report.source}-signature"}=@report.signature +%code.backtrace{class: "#{@report.source}-backtrace"}=@report.backtrace.gsub(/\n\s+/, '
 nbsp;').html_safe %h2 Request details .request-details