summaryrefslogtreecommitdiff
path: root/web/template
diff options
context:
space:
mode:
Diffstat (limited to 'web/template')
-rw-r--r--web/template/status.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/template/status.tmpl b/web/template/status.tmpl
index ca956e8a7..85000fd72 100644
--- a/web/template/status.tmpl
+++ b/web/template/status.tmpl
@@ -38,7 +38,9 @@
{{- if .SpoilerText }}
<details class="text-spoiler">
<summary>
- <span class="spoiler-text p-summary" lang="{{- .LanguageTag.TagStr -}}">{{- emojify .Emojis (escape .SpoilerText) -}}</span>
+ <div class="spoiler-content p-summary" lang="{{- .LanguageTag.TagStr -}}">
+ {{ noescape .SpoilerContent | emojify .Emojis }}
+ </div>
<span class="button" role="button" tabindex="0">Toggle visibility</span>
</summary>
<div class="text">