Show spoiler text even when post content is emtpy

This commit is contained in:
r 2021-08-26 04:55:30 +00:00
parent ecb19c8746
commit 0b789ec276

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}}