aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/header.tmpl
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/header.tmpl
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/header.tmpl')
-rw-r--r--templates/org/header.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/header.tmpl b/templates/org/header.tmpl
index d00b7c28c4..0192ad7d82 100644
--- a/templates/org/header.tmpl
+++ b/templates/org/header.tmpl
@@ -4,7 +4,7 @@
<div class="column">
<div class="ui header">
<img class="ui image" src="{{.RelAvatarLink}}?s=100">
- <span class="text thin grey"><a href="{{.HomeLink}}">{{.DisplayName | Str2html}}</a></span>
+ <span class="text thin grey"><a href="{{.HomeLink}}">{{.DisplayName}}</a></span>
<div class="ui right">
<div class="ui menu">