tpl/tplimpl: Fix title attribute in details shortcode

This commit is contained in:
Joe Mooring
2024-12-13 10:50:17 -08:00
committed by GitHub
parent 852d868549
commit a32c889a7b
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ Renders an HTML details element.
{{- with $class }} class="{{ . }}" {{- end }}
{{- with $name }} name="{{ . }}" {{- end }}
{{- with $open }} open {{- end }}
{{- with $title }} class="{{ . }}" {{- end -}}
{{- with $title }} title="{{ . }}" {{- end -}}
>
<summary>{{ $summary | .Page.RenderString }}</summary>
{{ .Inner | .Page.RenderString (dict "display" "block") -}}