diff options
author | r <r@freesoftwareextremist.com> | 2021-08-26 04:55:30 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2021-08-26 04:55:30 +0000 |
commit | def93b4598ed2c6d194e575117746bdc967c1a6a (patch) | |
tree | bb24a5f8b60d3c85410c51311767c12da2152db7 | |
parent | 44d4b0d379ddfe004bff710c5c3cb44692500ad4 (diff) | |
download | bloat-def93b4598ed2c6d194e575117746bdc967c1a6a.tar.gz bloat-def93b4598ed2c6d194e575117746bdc967c1a6a.zip |
Show spoiler text even when post content is emtpy
-rw-r--r-- | templates/status.tmpl | 2 |
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}} |