Fix div not allowed in summary element in ToC (html validator complaint) (#552)

This commit is contained in:
Daniel F. Dickinson 2021-09-03 09:27:36 -04:00 committed by GitHub
parent 5bc9c5a73b
commit 9a20b2e54c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
<div class="toc"> <div class="toc">
<details {{if (.Param "TocOpen") }} open{{ end }}> <details {{if (.Param "TocOpen") }} open{{ end }}>
<summary accesskey="c" title="(Alt + C)"> <summary accesskey="c" title="(Alt + C)">
<div class="details">{{- i18n "toc" | default "Table of Contents" }}</div> <span class="details">{{- i18n "toc" | default "Table of Contents" }}</span>
</summary> </summary>
<div class="inner"> <div class="inner">