Skip to content

Commit

Permalink
fix: plainify Toc headings (imfing#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
imfing authored Oct 31, 2023
1 parent 56a87e5 commit 433beed
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 @@ -59,7 +59,7 @@
{{- if .Title }}
<li class="my-2 scroll-my-6 scroll-py-6">
<a class="{{ $class }} inline-block text-gray-500 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300 contrast-more:text-gray-900 contrast-more:underline contrast-more:dark:text-gray-50 w-full break-words" href="#{{ anchorize .ID }}">
{{- .Title | safeHTML }}
{{- .Title | safeHTML | plainify }}
</a>
</li>
{{- end -}}
Expand Down

0 comments on commit 433beed

Please sign in to comment.