From b2a9e44db1a703fe0150c5aef7097020a9e1550d Mon Sep 17 00:00:00 2001 From: r Date: Tue, 16 Nov 2021 15:29:27 +0000 Subject: Escape user display name --- templates/status.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/status.tmpl') diff --git a/templates/status.tmpl b/templates/status.tmpl index a7cc10d..c79633f 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -5,7 +5,7 @@ avatar - {{EmojiFilter .Account.DisplayName .Account.Emojis}} + {{EmojiFilter (html .Account.DisplayName) .Account.Emojis}} @{{.Account.Acct}} @@ -23,7 +23,7 @@
- {{EmojiFilter .Account.DisplayName .Account.Emojis}} + {{EmojiFilter (html .Account.DisplayName) .Account.Emojis}} @{{.Account.Acct}} -- cgit v1.2.3