summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/default/show/comments.tmpl9
1 files changed, 6 insertions, 3 deletions
diff --git a/template/default/show/comments.tmpl b/template/default/show/comments.tmpl
index b020caa0f..27177486e 100644
--- a/template/default/show/comments.tmpl
+++ b/template/default/show/comments.tmpl
@@ -45,7 +45,10 @@
[% END %]
<br>
- <pre>
- [%- quoteUrls(comment.body) -%]
- </pre>
+[%# Don't indent the <pre> block, since then the spaces are displayed in the
+ # generated HTML
+ #%]
+<pre>
+ [%- quoteUrls(comment.body) -%]
+</pre>
[% END %]