diff --git a/pagure/static/request_ev.js b/pagure/static/request_ev.js
index 19c41a2..14bd438 100644
--- a/pagure/static/request_ev.js
+++ b/pagure/static/request_ev.js
@@ -24,8 +24,8 @@ add_comment = function(data) {
\
\
@@ -67,17 +67,12 @@ add_comment = function(data) {
update_comment = function(data) {
console.log('Updating comment ' + data.comment_id);
var field = $('#comment-' + data.comment_id).parent();
- console.log($('#comment-' + data.comment_id));
- console.log(field);
var edited = field.find('.text-muted');
- console.log(edited);
if (edited.length == 0) {
- console.log('First edition');
$(field.find('aside')).before(
'Edited a just now by '
+ data.comment_editor + '');
} else {
- console.log('edited before');
edited.html('Edited a just now by ' + data.comment_editor)
}
field.find('.comment_body').html(data.comment_updated);
diff --git a/pagure/templates/_formhelper.html b/pagure/templates/_formhelper.html
index 9974699..61d76b1 100644
--- a/pagure/templates/_formhelper.html
+++ b/pagure/templates/_formhelper.html
@@ -118,13 +118,15 @@
comment.edited_on.strftime('%Y-%m-%d %H:%M:%S') if comment.edited_on
}}">
- {% autoescape false %}
- {% if id == 0 %}
- {{ comment.content | markdown }}
- {% else %}
- {{ comment.comment | markdown }}
- {% endif %}
- {% endautoescape %}
+