FIX: add noopener to website field in user profile

This commit is contained in:
Jeff Atwood 2017-01-11 15:38:37 -08:00
parent 887e9af84f
commit 240c4870cf
3 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@
<span class='website-name'>
{{fa-icon "globe"}}
{{#if linkWebsite}}
<a href={{user.website}} rel={{unless removeNoFollow 'nofollow'}} target="_blank">{{user.website_name}}</a>
<a href={{user.website}} rel={{unless removeNoFollow 'nofollow noopener'}} target="_blank">{{user.website_name}}</a>
{{else}}
<span title={{user.website}}>{{user.website_name}}</span>
{{/if}}

View File

@ -72,7 +72,7 @@
{{#if model.website_name}}
{{fa-icon "globe"}}
{{#if linkWebsite}}
<a href={{model.website}} rel={{unless removeNoFollow 'nofollow'}} target="_blank">{{model.website_name}}</a>
<a href={{model.website}} rel={{unless removeNoFollow 'nofollow noopener'}} target="_blank">{{model.website_name}}</a>
{{else}}
<span title={{model.website}}>{{model.website_name}}</span>
{{/if}}

View File

@ -106,7 +106,7 @@
<a class='domain'
href='{{unbound link.url}}'
title='{{unbound link.title}}'
rel='{{unless user.removeNoFollow 'nofollow'}}'
rel='{{unless user.removeNoFollow 'nofollow noopener'}}'
target='_blank'>
{{shorten-url link.url}}
</a>