From 7df4251b7256dbf1efdd197f158d70ea8c761894 Mon Sep 17 00:00:00 2001 From: Alex Shpak <alex-shpak@users.noreply.github.com> Date: Sat, 7 Mar 2020 13:37:40 +0100 Subject: #169, Remove whitespaces around content in tabs, just to be safe. --- layouts/shortcodes/tabs.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts/shortcodes/tabs.html') diff --git a/layouts/shortcodes/tabs.html b/layouts/shortcodes/tabs.html index 7aace73..982f6a0 100644 --- a/layouts/shortcodes/tabs.html +++ b/layouts/shortcodes/tabs.html @@ -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> -- cgit v1.2.3