From a1e0fa698ddfab5ec3ae4212510cf493979effbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Mon, 11 Mar 2024 22:08:16 +0100 Subject: [PATCH] highlight: typo #795 --- layouts/partials/shortcodes/highlight.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/shortcodes/highlight.html b/layouts/partials/shortcodes/highlight.html index c9f50116ea..94a58426ea 100644 --- a/layouts/partials/shortcodes/highlight.html +++ b/layouts/partials/shortcodes/highlight.html @@ -82,7 +82,7 @@ {{- $wrap = (eq $wrap "true") }} {{- end }} -{{- /* enrich options */}} +{{- /* enrich attributes */}} {{- $attributes = merge $attributes (dict "class" (delimit (append (index $attributes "class" | default slice) "highlight" slice) " ")) }} {{- if $wrap }} {{- $attributes = merge $options (dict "class" (delimit (append (index $attributes "class" | default slice) "wrap-code" slice) " ")) }}