highlight: typo #795

This commit is contained in:
Sören Weber 2024-03-11 22:08:16 +01:00
parent b624b71af5
commit a1e0fa698d
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -82,7 +82,7 @@
{{- $wrap = (eq $wrap "true") }} {{- $wrap = (eq $wrap "true") }}
{{- end }} {{- end }}
{{- /* enrich options */}} {{- /* enrich attributes */}}
{{- $attributes = merge $attributes (dict "class" (delimit (append (index $attributes "class" | default slice) "highlight" slice) " ")) }} {{- $attributes = merge $attributes (dict "class" (delimit (append (index $attributes "class" | default slice) "highlight" slice) " ")) }}
{{- if $wrap }} {{- if $wrap }}
{{- $attributes = merge $options (dict "class" (delimit (append (index $attributes "class" | default slice) "wrap-code" slice) " ")) }} {{- $attributes = merge $options (dict "class" (delimit (append (index $attributes "class" | default slice) "wrap-code" slice) " ")) }}