Use .InnerDeindent in inline shortcodes

This commit is contained in:
Alex Shpak
2024-10-02 12:02:41 +02:00
parent 2b7b9c3c79
commit 35bf672b70
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -2,6 +2,6 @@
{{- $summary := cond .IsNamedParams (.Get "title") (.Get 0) -}}
<summary>{{ $summary | .Page.RenderString }}</summary>
<div class="markdown-inner">
{{ .Inner | .Page.RenderString }}
{{ .InnerDeindent | .Page.RenderString }}
</div>
</details>