diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-03-01 12:02:19 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-03-01 12:02:19 +0800 |
commit | 19bc2b10aeb4b7372f6654aebc2942dc94389fea (patch) | |
tree | e78c40205cc82432725f15f8a33274921fa4658e /templates/org/member/invite.tmpl | |
parent | db6777d3697daae7d093a585968fce5f91307faa (diff) | |
download | gitea-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.tmpl | 2 |
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"> |