From 694dbdf6ff3eef3e33fcbe95ebd676eea3353dcc Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 7 Sep 2015 02:17:51 -0400 Subject: linking urls --- public/assets/js/lib/views/details/comments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/assets/js/lib/views/details') diff --git a/public/assets/js/lib/views/details/comments.js b/public/assets/js/lib/views/details/comments.js index 168cc3f..399c90d 100644 --- a/public/assets/js/lib/views/details/comments.js +++ b/public/assets/js/lib/views/details/comments.js @@ -17,7 +17,7 @@ var CommentsView = FormView.extend({ parse: function(comment){ var datetime = verbose_date(comment.date, true) var t = this.template.replace(/{{username}}/g, comment.username) - .replace(/{{comment}}/g, comment.comment) + .replace(/{{comment}}/g, tidy_urls(comment.comment)) .replace(/{{date}}/g, datetime[0]) .replace(/{{time}}/g, datetime[1]) return t -- cgit v1.2.3-70-g09d2