aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/create.tmpl
diff options
context:
space:
mode:
authorcezar97 <cezar97@protonmail.com>2018-07-02 14:33:14 +0300
committer无闻 <u@gogs.io>2018-07-02 19:33:14 +0800
commit87b229d280def1cd591a9a823b1b2b0bfc8e693e (patch)
treee91d12b81f7681a908420b2c7d1fa9afb05a99c9 /templates/repo/create.tmpl
parent2a86b3e31d19e8dab987dcf927cfb3363e946d53 (diff)
templates: add 'rel=noopener noreferrer' to <a> tags (#5319)
Signed-off-by: cezar97 <cezar97@protonmail.com>
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r--templates/repo/create.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index a7580d72..87cc9b1a 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -85,7 +85,7 @@
</div>
<div class="inline field">
- <label>{{.i18n.Tr "repo.readme"}} <a target="_blank" href="https://github.com/gogits/go-gogs-client/wiki/Repositories#litte-notes-on-readme-template"><span class="octicon octicon-question"></span></a></label>
+ <label>{{.i18n.Tr "repo.readme"}} <a target="_blank" rel="noopener noreferrer" href="https://github.com/gogits/go-gogs-client/wiki/Repositories#litte-notes-on-readme-template"><span class="octicon octicon-question"></span></a></label>
<div class="ui selection dropdown">
<input type="hidden" name="readme" value="{{.readme}}">
<div class="default text">{{.i18n.Tr "repo.readme_helper"}}</div>