diff --git a/pagure/templates/_formhelper.html b/pagure/templates/_formhelper.html index 82e63e0..633ccc3 100644 --- a/pagure/templates/_formhelper.html +++ b/pagure/templates/_formhelper.html @@ -124,13 +124,11 @@ }}"> - {%- autoescape false %} {%- if id == 0 -%} -{{ comment.content | markdown }} +{{ comment.content | markdown | noJS | safe }} {%- else -%} -{{ comment.comment | markdown }} +{{ comment.comment | markdown | noJS | safe }} {%- endif -%} - {% endautoescape -%} @@ -173,9 +171,7 @@