aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2021-08-26 04:55:30 +0000
committerr <r@freesoftwareextremist.com>2021-08-26 04:55:30 +0000
commitdef93b4598ed2c6d194e575117746bdc967c1a6a (patch)
treebb24a5f8b60d3c85410c51311767c12da2152db7
parent44d4b0d379ddfe004bff710c5c3cb44692500ad4 (diff)
downloadbloat-def93b4598ed2c6d194e575117746bdc967c1a6a.tar.gz
bloat-def93b4598ed2c6d194e575117746bdc967c1a6a.zip
Show spoiler text even when post content is emtpy
-rw-r--r--templates/status.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/status.tmpl b/templates/status.tmpl
index 9109f4e..7ca8192 100644
--- a/templates/status.tmpl
+++ b/templates/status.tmpl
@@ -87,7 +87,7 @@
{{end}}
{{end}}
</div>
- {{if .Content}}
+ {{if (or .Content .SpoilerText)}}
<div class="status-content"> {{StatusContentFilter (html .SpoilerText) .Content .Emojis .Mentions}} </div>
{{end}}
{{if .MediaAttachments}}