summaryrefslogtreecommitdiffstats
path: root/templates/repo/user_cards.tmpl
diff options
context:
space:
mode:
authorcezar97 <cezar97@protonmail.com>2018-07-04 02:52:36 +0300
committertechknowlogick <techknowlogick@users.noreply.github.com>2018-07-03 19:52:36 -0400
commit51ba3df5ff5b58a77c31bcda9a8efd3cdafa1d99 (patch)
treecda666fa4f35b1b7e57f8e734764cccd4988a7fe /templates/repo/user_cards.tmpl
parent4b654ad17f50a441049c208e5011d0799522592b (diff)
downloadgitea-51ba3df5ff5b58a77c31bcda9a8efd3cdafa1d99.tar.gz
gitea-51ba3df5ff5b58a77c31bcda9a8efd3cdafa1d99.zip
Add `noreferrer` to rel='noopener` for <a> tags (#4328)
Diffstat (limited to 'templates/repo/user_cards.tmpl')
-rw-r--r--templates/repo/user_cards.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/user_cards.tmpl b/templates/repo/user_cards.tmpl
index 5288d05ef9..2d212dafae 100644
--- a/templates/repo/user_cards.tmpl
+++ b/templates/repo/user_cards.tmpl
@@ -12,7 +12,7 @@
<div class="meta">
{{if .Website}}
- <span class="octicon octicon-link"></span> <a href="{{.Website}}" target="_blank" rel="noopener">{{.Website}}</a>
+ <span class="octicon octicon-link"></span> <a href="{{.Website}}" target="_blank" rel="noopener noreferrer">{{.Website}}</a>
{{else if .Location}}
<span class="octicon octicon-location"></span> {{.Location}}
{{else}}