summaryrefslogtreecommitdiffstats
path: root/templates/org/member
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2017-04-06 09:31:31 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-04-05 18:31:31 -0700
commit0cee52e0d3e171bb6bba63aa12479ea5b2b35561 (patch)
tree3c3993c06417445a15eb9ec9614adc5359b3c6d0 /templates/org/member
parente7493e953f7cc32569b08f48a46e4cf0bacbf74e (diff)
downloadgitea-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.tmpl2
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">