diff --git a/layouts/_partials/shortcodes/tabs.html b/layouts/_partials/shortcodes/tabs.html index a9e9dd7..6a2bcb3 100644 --- a/layouts/_partials/shortcodes/tabs.html +++ b/layouts/_partials/shortcodes/tabs.html @@ -30,40 +30,20 @@ The `tabs` parameter is a list of dict with the following keys: {{- /* Generate a unique ID for each tab group. */ -}} {{- $globalID := printf "tabs-%02v" $tabsID -}} +{{- /* Keep HTML on single lines to avoid `>` being parsed as blockquote when nested in steps (#876) */ -}}
-
+
{{- range $i, $item := $tabs -}} - {{- end -}}
- {{- range $i, $item := $tabs -}} -
- {{- $item.content | markdownify -}} -
- {{- end -}} + {{- range $i, $item := $tabs -}} +
+ {{- $item.content | markdownify -}} +
+ {{- end -}}