diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-04-06 09:31:31 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-04-05 18:31:31 -0700 |
commit | 0cee52e0d3e171bb6bba63aa12479ea5b2b35561 (patch) | |
tree | 3c3993c06417445a15eb9ec9614adc5359b3c6d0 /templates/org/member | |
parent | e7493e953f7cc32569b08f48a46e4cf0bacbf74e (diff) | |
download | gitea-0cee52e0d3e171bb6bba63aa12479ea5b2b35561.tar.gz gitea-0cee52e0d3e171bb6bba63aa12479ea5b2b35561.zip |
fix: remove `str2html` from org full name (#1360)
* fix: remove str2html for security issue.
* fix: update
Diffstat (limited to 'templates/org/member')
-rw-r--r-- | templates/org/member/invite.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/member/invite.tmpl b/templates/org/member/invite.tmpl index c1c2d88f2a..29e7928f0c 100644 --- a/templates/org/member/invite.tmpl +++ b/templates/org/member/invite.tmpl @@ -4,7 +4,7 @@ <div class="ui container"> <div id="invite-box"> {{template "base/alert" .}} - <h2>{{.i18n.Tr "org.members.invite_desc" .Org.DisplayName | Str2html}}</h2> + <h2>{{.i18n.Tr "org.members.invite_desc" .Org.DisplayName}}</h2> <form class="ui form" action="{{.Link}}" method="post"> {{.CsrfTokenHtml}} <div class="inline field ui left"> |