summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/comments.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/bug/comments.html.tmpl')
-rw-r--r--template/en/default/bug/comments.html.tmpl17
1 files changed, 5 insertions, 12 deletions
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl
index 98ab4645e..7af08efde 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -283,22 +283,15 @@
</div>
[% END %]
-
-[% IF comment.is_markdown %]
- [% comment_tag = 'div' %]
-[% ELSE %]
- [% comment_tag = 'pre' %]
-[% END %]
-
-[%# Don't indent incaase it's a <pre> block, since then the spaces are
- # displayed in the generated HTML
+[%# Don't indent the <pre> block, since then the spaces are displayed in the
+ # generated HTML
#%]
-<[% comment_tag FILTER none %] class="bz_comment_text[% " collapsed" IF comment.collapsed %]"
+<pre class="bz_comment_text[% " collapsed" IF comment.collapsed %]"
[% IF mode == "edit" || comment.collapsed %]
id="comment_text_[% comment.count FILTER none %]"
[% END %]>
- [%- comment_text FILTER renderComment(bug, comment) -%]
-</[% comment_tag FILTER none %]>
+ [%- comment_text FILTER quoteUrls(bug, comment) -%]
+</pre>
[% Hook.process('a_comment-end', 'bug/comments.html.tmpl') %]
</div>
[% END %]