Skip to content

Commit 3416128

Browse files
committed
Fix mailer views
1 parent bce8772 commit 3416128

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
h3 = t('.prolog')
2-
q = @reported_content.question
2+
blockquote style="white-space: pre-wrap;" = @reported_content.question
33
p = t('.take_action')
44
p = link_to(request_for_comment_url(@reported_content), request_for_comment_url(@reported_content))

app/views/report_mailer/report_content.text.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
== t('.prolog')
22
== "\n\n"
3-
== "> #{@reported_content.question}"
3+
== @reported_content.question.lines.map { "> #{it}" }.join
44
== "\n\n"
55
== t('.take_action')
66
== "\n\n"

0 commit comments

Comments
 (0)