Show spoiler text even when post content is emtpy

This commit is contained in:
r 2021-08-26 04:55:30 +00:00
parent 44d4b0d379
commit def93b4598

View File

@ -87,7 +87,7 @@
{{end}} {{end}}
{{end}} {{end}}
</div> </div>
{{if .Content}} {{if (or .Content .SpoilerText)}}
<div class="status-content"> {{StatusContentFilter (html .SpoilerText) .Content .Emojis .Mentions}} </div> <div class="status-content"> {{StatusContentFilter (html .SpoilerText) .Content .Emojis .Mentions}} </div>
{{end}} {{end}}
{{if .MediaAttachments}} {{if .MediaAttachments}}