summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-12-17 14:16:59 -0800
committerjessib <jessib@riseup.net>2013-12-17 14:16:59 -0800
commitac29bc28ff6bf8d70a16a2e1f7ee0aa8889af010 (patch)
tree00d83de9e6684dcf1a21aa5bc3462e5feb395fc9
parent83cd3d95b78b6df9ac33a8ee169e570f4d3e2eeb (diff)
This won't necessarily preserve exact formatting (for example, if there are multiple blank lines in a row), but seems standard way to do it and maybe sufficient?
-rw-r--r--help/app/views/tickets/_comment.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/help/app/views/tickets/_comment.html.haml b/help/app/views/tickets/_comment.html.haml
index 4252eee..778ca13 100644
--- a/help/app/views/tickets/_comment.html.haml
+++ b/help/app/views/tickets/_comment.html.haml
@@ -17,4 +17,4 @@
%span.label.label-important
= t(:private)
%td.comment
- = comment.body \ No newline at end of file
+ = simple_format(comment.body) \ No newline at end of file