From 045be151bd275d0913305dc2a22f9af3d866fd17 Mon Sep 17 00:00:00 2001 From: r Date: Mon, 10 May 2021 13:29:18 +0000 Subject: [PATCH] Fix emojis --- templates/status.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/status.tmpl b/templates/status.tmpl index 7dcc0b6..775631a 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -153,12 +153,12 @@ {{range $i, $o := .Poll.Options}}
{{if (or $s.Poll.Expired $s.Poll.Voted)}} -
{{EmojiFilter $o.Title $s.Emojis | html}} - {{$o.VotesCount}} votes
+
{{EmojiFilter (html $o.Title) $s.Emojis}} - {{$o.VotesCount}} votes
{{else}} {{end}}