1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-31 22:58:35 +00:00

fix: remove str2html from org full name (#1360)

* fix: remove str2html for security issue.

* fix: update
This commit is contained in:
Bo-Yi Wu
2017-04-06 09:31:31 +08:00
committed by Lunny Xiao
parent e7493e953f
commit 0cee52e0d3
5 changed files with 5 additions and 5 deletions

View File

@@ -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">