From 75a5bc3e71060d3401206907fb8dfd70e54851ec Mon Sep 17 00:00:00 2001 From: Godwin Date: Tue, 25 Jul 2017 10:14:27 -0700 Subject: [PATCH] Let error report signature wrap --- app/views/user_mailer/error_report.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/user_mailer/error_report.html.haml b/app/views/user_mailer/error_report.html.haml index 7227268..52b82fe 100644 --- a/app/views/user_mailer/error_report.html.haml +++ b/app/views/user_mailer/error_report.html.haml @@ -2,7 +2,7 @@ %h2 Error details %code.signature{class: "#{@report.source}-signature"} - = "#{@report.signature}" + = "#{@report.signature.gsub(/\n\s+/, '
 nbsp;')}".html_safe %code.backtrace{class: "#{@report.source}-backtrace"}=@report.backtrace %h2 Request details