From 1447622fb19fb6755be78efc1c3fc79826ced5c8 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 22 Dec 2014 23:59:04 +0100 Subject: Bug 1114411: Do not call replyToMarkdownComment() if user pref use_markdown = off r/a=dkl --- template/en/default/bug/comments.html.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'template/en/default/bug/comments.html.tmpl') diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index 0c7408a48..1281bb6df 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -18,6 +18,7 @@ [% DEFAULT mode = "show" %] [% user_cache = template_cache.users %] +[% markdown_enabled = feature_enabled('jsonrpc') AND user.settings.use_markdown.value == "on" %] @@ -101,7 +102,7 @@ [