Commit 34a4b8a1b6f4900e1236b069aa0e478162b285a3

Authored by Nathan Broadbent
1 parent c5f2ad71
Exists in master and in 1 other branch production

Proper linebreaks in comment notification emails

app/views/mailer/comment_notification.html.haml
@@ -26,7 +26,7 @@ @@ -26,7 +26,7 @@
26 %div 26 %div
27 %p.heading COMMENT: 27 %p.heading COMMENT:
28 %br 28 %br
29 - %p= @comment.body 29 + %p= @comment.body.to_s.gsub("\n", "<br/>").html_safe
30 30
31 %tr 31 %tr
32 %td.section 32 %td.section