diff options
author | r <r@freesoftwareextremist.com> | 2021-08-26 04:55:30 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2021-09-05 17:31:45 +0000 |
commit | 0b789ec276c44c10bacf647d55ed4495d7bc170b (patch) | |
tree | 24690b0595b5483be3682681f31f16adb3c21f8d | |
parent | ecb19c874640e6cd792cac8f3276b9bdfbbe88a6 (diff) | |
download | bloat-0b789ec276c44c10bacf647d55ed4495d7bc170b.tar.gz bloat-0b789ec276c44c10bacf647d55ed4495d7bc170b.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}} |