diff options
author | cezar97 <cezar97@protonmail.com> | 2018-07-04 02:52:36 +0300 |
---|---|---|
committer | techknowlogick <techknowlogick@users.noreply.github.com> | 2018-07-03 19:52:36 -0400 |
commit | 51ba3df5ff5b58a77c31bcda9a8efd3cdafa1d99 (patch) | |
tree | cda666fa4f35b1b7e57f8e734764cccd4988a7fe /templates/repo/user_cards.tmpl | |
parent | 4b654ad17f50a441049c208e5011d0799522592b (diff) | |
download | gitea-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.tmpl | 2 |
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}} |