summaryrefslogtreecommitdiffstats
path: root/templates/org/member/invite.tmpl
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2017-03-01 12:02:19 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-03-01 12:02:19 +0800
commit19bc2b10aeb4b7372f6654aebc2942dc94389fea (patch)
treee78c40205cc82432725f15f8a33274921fa4658e /templates/org/member/invite.tmpl
parentdb6777d3697daae7d093a585968fce5f91307faa (diff)
downloadgitea-19bc2b10aeb4b7372f6654aebc2942dc94389fea.tar.gz
gitea-19bc2b10aeb4b7372f6654aebc2942dc94389fea.zip
fix: Add str2html on DisplayName of Org. (#1091)
Diffstat (limited to 'templates/org/member/invite.tmpl')
-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 29e7928f0c..c1c2d88f2a 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}}</h2>
+ <h2>{{.i18n.Tr "org.members.invite_desc" .Org.DisplayName | Str2html}}</h2>
<form class="ui form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}}
<div class="inline field ui left">