summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/details
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-09-07 02:17:51 -0400
committerJules Laplace <jules@okfoc.us>2015-09-07 02:17:51 -0400
commit694dbdf6ff3eef3e33fcbe95ebd676eea3353dcc (patch)
tree91b2cf8a9310005e9bd6d1ff443ef7d593086271 /public/assets/js/lib/views/details
parentf5cd692caf98cfeddc61df6442d401619d264aa7 (diff)
linking urls
Diffstat (limited to 'public/assets/js/lib/views/details')
-rw-r--r--public/assets/js/lib/views/details/comments.js2
1 files changed, 1 insertions, 1 deletions
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