aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2021-05-10 13:29:18 +0000
committerr <r@freesoftwareextremist.com>2021-05-10 13:29:18 +0000
commit045be151bd275d0913305dc2a22f9af3d866fd17 (patch)
tree9da338a7db181a5891326b25258bd72af5e4a746 /templates
parent469f2d1d25f0b266abb15eab410131ebe1856aad (diff)
downloadbloat-045be151bd275d0913305dc2a22f9af3d866fd17.tar.gz
bloat-045be151bd275d0913305dc2a22f9af3d866fd17.zip
Fix emojis
Diffstat (limited to 'templates')
-rw-r--r--templates/status.tmpl4
1 files 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}}
<div class="poll-option">
{{if (or $s.Poll.Expired $s.Poll.Voted)}}
- <div> {{EmojiFilter $o.Title $s.Emojis | html}} - {{$o.VotesCount}} votes </div>
+ <div> {{EmojiFilter (html $o.Title) $s.Emojis}} - {{$o.VotesCount}} votes </div>
{{else}}
<input type="{{if $s.Poll.Multiple}}checkbox{{else}}radio{{end}}" name="choices"
id="poll-{{$s.ID}}-{{$i}}" value="{{$i}}">
<label for="poll-{{$s.ID}}-{{$i}}">
- {{EmojiFilter $o.Title $s.Emojis | html}}
+ {{EmojiFilter (html $o.Title) $s.Emojis}}
</label>
{{end}}
</div>