1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-10 19:48:19 +00:00

fix: Add str2html on DisplayName of Org. (#1091)

This commit is contained in:
Bo-Yi Wu
2017-03-01 12:02:19 +08:00
committed by Lunny Xiao
parent db6777d369
commit 19bc2b10ae
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}}
{{.Org.DisplayName | Str2html}}
{{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}}