#169, Remove whitespaces around content in tabs, just to be safe.

This commit is contained in:
Alex Shpak 2020-03-07 13:37:40 +01:00
parent 050d5a83de
commit 7df4251b72

View file

@ -3,13 +3,13 @@
{{ $group := printf "tabs-%s" $id }}
<div class="book-tabs">
{{- range $index, $tab := .Scratch.Get $group -}}
{{- range $index, $tab := .Scratch.Get $group -}}
<input type="radio" class="hidden" name="{{ $group }}" id="{{ printf "%s-%d" $group $index }}" {{ if not $index }}checked="checked"{{ end }} />
<label for="{{ printf "%s-%d" $group $index }}">
{{ $tab.Name }}
{{- $tab.Name -}}
</label>
<div class="book-tabs-content markdown-inner">
{{ .Content | markdownify }}
{{- .Content | markdownify -}}
</div>
{{- end -}}
</div>