fix random blank space on post content

This commit is contained in:
alyssa rose 2021-04-02 00:15:28 +00:00 committed by alyssa
parent d58c0b63f1
commit 7071165d04
1 changed files with 12 additions and 10 deletions

View File

@ -87,16 +87,18 @@
{{end}}
{{end}}
</div>
{{if .Content}}
{{if .SpoilerText}}
<details>
<summary><span></span>{{.SpoilerText}}</summary>
{{template "postcontent.tmpl" (WithContext $s $.Ctx)}}
</details>
{{else}}
{{template "postcontent.tmpl" (WithContext $s $.Ctx)}}
{{end}}
{{end}}
<div class="status-content">
{{if .Content}}
{{if .SpoilerText}}
<details>
<summary><span></span>{{.SpoilerText}}</summary>
{{template "postcontent.tmpl" (WithContext $s $.Ctx)}}
</details>
{{else}}
{{template "postcontent.tmpl" (WithContext $s $.Ctx)}}
{{end}}
{{end}}
</div>
<div class="status-action-container">
<div class="status-action">
<a href="/thread/{{.ID}}?reply=true#status-{{.ID}}">