diff --git a/js/jquery-comments.js b/js/jquery-comments.js index ead0053..5b1b8c0 100644 --- a/js/jquery-comments.js +++ b/js/jquery-comments.js @@ -157,6 +157,7 @@ enablePinging: false, enableDeletingCommentWithReplies: false, enableNavigation: true, + enableLinking: true, postCommentOnEnter: false, forceResponsive: false, readOnly: false, @@ -2180,7 +2181,7 @@ getFormattedCommentContent: function(commentModel, replaceNewLines) { var html = this.escape(commentModel.content); - html = this.linkify(html); + if(this.options.enableLinking) html = this.linkify(html); html = this.highlightTags(commentModel, html); if(replaceNewLines) html = html.replace(/(?:\n)/g, '
'); return html; @@ -2375,4 +2376,4 @@ comments.init(options || {}, this); }); }; -})); \ No newline at end of file +}));