From 1e1cdee06a3bd5aaa0f97ad3c0d25aa505e723ef Mon Sep 17 00:00:00 2001 From: Blackle Morisanchetto Date: Fri, 2 Sep 2022 05:54:32 -0400 Subject: [feature] Emojify spoiler and content in web templates (#785) * Emojify spoiler and content in web templates * Use more performance emojify code (thanks NyaaaWhatsUpDoc!) --- web/template/status.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/template') diff --git a/web/template/status.tmpl b/web/template/status.tmpl index decad4764..56d98d89b 100644 --- a/web/template/status.tmpl +++ b/web/template/status.tmpl @@ -6,12 +6,12 @@ {{if .SpoilerText}}
- {{.SpoilerText}} + {{emojify .Emojis (escape .SpoilerText)}}
{{end}}
- {{.Content |noescape}} + {{emojify .Emojis (noescape .Content)}}
{{with .MediaAttachments}} -- cgit v1.2.3