1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-10 19:48:19 +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

@@ -6,7 +6,7 @@
<img class="ui left" id="org-avatar" src="{{.Org.RelAvatarLink}}?s=140"/>
<div id="org-info">
<div class="ui header">
{{.Org.DisplayName | Str2html}}
{{.Org.DisplayName}}
{{if .IsOrganizationOwner}}<a class="text grey" href="{{.OrgLink}}/settings"><span class="octicon octicon-gear"></span></a>{{end}}
</div>
{{if .Org.Description}}<p class="desc">{{.Org.Description}}</p>{{end}}