From 15398fcc6dea578e923c19b03b71c7ab59f88b5b Mon Sep 17 00:00:00 2001 From: Sajjad Hasehmian Date: Mon, 11 Jan 2016 13:29:01 +0330 Subject: [PATCH] Add rel="nofollow" to bio links (fixes #449) --- js/lib/models/User.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/lib/models/User.js b/js/lib/models/User.js index a1b231654..cd7ead7be 100644 --- a/js/lib/models/User.js +++ b/js/lib/models/User.js @@ -17,7 +17,7 @@ Object.assign(User.prototype, { avatarUrl: Model.attribute('avatarUrl'), bio: Model.attribute('bio'), - bioHtml: computed('bio', bio => bio ? '

' + $('

').text(bio).html().replace(/\n/g, '
').autoLink() + '

' : ''), + bioHtml: computed('bio', bio => bio ? '

' + $('

').text(bio).html().replace(/\n/g, '
').autoLink({rel: 'nofollow'}) + '

' : ''), preferences: Model.attribute('preferences'), groups: Model.hasMany('groups'),