summaryrefslogtreecommitdiffstats
path: root/templates/org/header.tmpl
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2017-03-01 12:02:19 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-03-01 12:02:19 +0800
commit19bc2b10aeb4b7372f6654aebc2942dc94389fea (patch)
treee78c40205cc82432725f15f8a33274921fa4658e /templates/org/header.tmpl
parentdb6777d3697daae7d093a585968fce5f91307faa (diff)
downloadgitea-19bc2b10aeb4b7372f6654aebc2942dc94389fea.tar.gz
gitea-19bc2b10aeb4b7372f6654aebc2942dc94389fea.zip
fix: Add str2html on DisplayName of Org. (#1091)
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 0192ad7d82..d00b7c28c4 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}}</a></span>
+ <span class="text thin grey"><a href="{{.HomeLink}}">{{.DisplayName | Str2html}}</a></span>
<div class="ui right">
<div class="ui menu">