fix: remove whitespace shortcode

This commit is contained in:
Henk Verlinde
2022-02-10 10:14:36 +01:00
parent cd42b954ff
commit 151aaef5a6
4 changed files with 24 additions and 22 deletions

View File

@ -1,6 +1,4 @@
<details{{ with .Get 1 }} {{ . | safeHTML }}{{ end -}}>
<summary>
{{ with .Get 0 }}{{ . | safeHTML }}{{ else }}{{ errorf "No summary provided"}}{{ end }}
</summary>
<summary>{{ with .Get 0 -}}{{ . | safeHTML }}{{ else -}}{{ errorf "No summary provided"}}{{ end -}}</summary>
{{ with .Inner -}}{{ . | markdownify}}{{ else -}}{{ errorf "No details provided"}}{{ end -}}
</details>