diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-04-06 09:31:31 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-04-05 18:31:31 -0700 |
commit | 0cee52e0d3e171bb6bba63aa12479ea5b2b35561 (patch) | |
tree | 3c3993c06417445a15eb9ec9614adc5359b3c6d0 /templates/org/home.tmpl | |
parent | e7493e953f7cc32569b08f48a46e4cf0bacbf74e (diff) | |
download | gitea-0cee52e0d3e171bb6bba63aa12479ea5b2b35561.tar.gz gitea-0cee52e0d3e171bb6bba63aa12479ea5b2b35561.zip |
fix: remove `str2html` from org full name (#1360)
* fix: remove str2html for security issue.
* fix: update
Diffstat (limited to 'templates/org/home.tmpl')
-rw-r--r-- | templates/org/home.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index e62e684552..9b8b311666 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -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}} |