diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-03-01 12:02:19 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-03-01 12:02:19 +0800 |
commit | 19bc2b10aeb4b7372f6654aebc2942dc94389fea (patch) | |
tree | e78c40205cc82432725f15f8a33274921fa4658e /templates/org/header.tmpl | |
parent | db6777d3697daae7d093a585968fce5f91307faa (diff) | |
download | gitea-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.tmpl | 2 |
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"> |