Skip to content

Commit

Permalink
highlight: typo #795
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Mar 11, 2024
1 parent b624b71 commit a1e0fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/shortcodes/highlight.html
Original file line number Diff line number Diff line change
Expand Up @@ -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) " ")) }}
Expand Down

0 comments on commit a1e0fa6

Please sign in to comment.