1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-26 12:18:36 +00:00

Add noreferrer to rel='noopener` for <a> tags (#4328)

This commit is contained in:
cezar97
2018-07-04 02:52:36 +03:00
committed by techknowlogick
parent 4b654ad17f
commit 51ba3df5ff
17 changed files with 59 additions and 59 deletions

View File

@@ -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}}