aboutsummaryrefslogtreecommitdiff
path: root/templates/user.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2021-11-16 15:29:27 +0000
committerr <r@freesoftwareextremist.com>2021-11-16 15:29:27 +0000
commitb2a9e44db1a703fe0150c5aef7097020a9e1550d (patch)
treebf2e1b5baa6379e6d8c70b786218e3c4b7c6606b /templates/user.tmpl
parent4d68062f2d0525a9d2a40e50d60ea9b25daae9ad (diff)
downloadbloat-b2a9e44db1a703fe0150c5aef7097020a9e1550d.tar.gz
bloat-b2a9e44db1a703fe0150c5aef7097020a9e1550d.zip
Escape user display name
Diffstat (limited to 'templates/user.tmpl')
-rw-r--r--templates/user.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user.tmpl b/templates/user.tmpl
index 32b5681..2532a91 100644
--- a/templates/user.tmpl
+++ b/templates/user.tmpl
@@ -11,7 +11,7 @@
</div>
<div class="user-profile-details-container">
<div>
- <bdi class="status-dname"> {{EmojiFilter .User.DisplayName .User.Emojis}} </bdi>
+ <bdi class="status-dname"> {{EmojiFilter (html .User.DisplayName) .User.Emojis}} </bdi>
<span class="status-uname"> @{{.User.Acct}} </span>
<a class="remote-link" href="{{.User.URL}}" target="_blank" title="remote profile">
source