summaryrefslogtreecommitdiffstats
path: root/templates/org/team
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2017-04-06 09:31:31 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-04-05 18:31:31 -0700
commit0cee52e0d3e171bb6bba63aa12479ea5b2b35561 (patch)
tree3c3993c06417445a15eb9ec9614adc5359b3c6d0 /templates/org/team
parente7493e953f7cc32569b08f48a46e4cf0bacbf74e (diff)
downloadgitea-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/team')
-rw-r--r--templates/org/team/members.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/team/members.tmpl b/templates/org/team/members.tmpl
index 091c939e6a..c9240beb2b 100644
--- a/templates/org/team/members.tmpl
+++ b/templates/org/team/members.tmpl
@@ -17,7 +17,7 @@
{{end}}
<a href="{{.HomeLink}}">
<img class="ui avatar image" src="{{.RelAvatarLink}}">
- {{.DisplayName | Str2html}}
+ {{.DisplayName}}
</a>
</div>
{{end}}