diff --git a/chrome_point_plus/js/point-plus.js b/chrome_point_plus/js/point-plus.js index e818290..79e04a0 100644 --- a/chrome_point_plus/js/point-plus.js +++ b/chrome_point_plus/js/point-plus.js @@ -637,7 +637,7 @@ function create_comment_elements(commentData, onCommentCreated) { // Reply form $commentTemplate.find('.post-content input.reply-radio').attr('id', 'reply-' + commentData.postId + '_' + commentData.id); $commentTemplate.find('.post-content form.reply-form').attr('action', '/' + commentData.postId); - $commentTemplate.find('.post-content form.reply-form textarea[name="text"]').html('@' + commentData.author + ', '); + $commentTemplate.find('.post-content form.reply-form textarea[name="text"]').text('@' + commentData.author + ', '); $commentTemplate.find('.post-content form.reply-form input[name="comment_id"]').val(commentData.id); $commentTemplate.find('.post-content form.reply-form input[name="csrf_token"]').val(csRfToken); ///Filling template @@ -806,10 +806,13 @@ function set_posts_count_label() { if (postInfo) { posts[id].find('.post-id').after( '