Skip to content

Commit

Permalink
Fix div not allowed in summary element in ToC (html validator complai…
Browse files Browse the repository at this point in the history
…nt) (#552)
  • Loading branch information
danielfdickinson authored Sep 3, 2021
1 parent 5bc9c5a commit 9a20b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="toc">
<details {{if (.Param "TocOpen") }} open{{ end }}>
<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>

<div class="inner">
Expand Down

0 comments on commit 9a20b2e

Please sign in to comment.