summaryrefslogtreecommitdiff
path: root/themes/PaperMod/layouts/partials/toc.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/PaperMod/layouts/partials/toc.html')
-rw-r--r--themes/PaperMod/layouts/partials/toc.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/PaperMod/layouts/partials/toc.html b/themes/PaperMod/layouts/partials/toc.html
index d9b8b23..28f8694 100644
--- a/themes/PaperMod/layouts/partials/toc.html
+++ b/themes/PaperMod/layouts/partials/toc.html
@@ -71,10 +71,10 @@
{{- end -}}
{{- end }}
<li>
- <a href="#{{- $cleanedID -}}" aria-label="{{- $header | plainify -}}">{{- $header | safeHTML -}}</a>
+ <a href="#{{- $cleanedID -}}" aria-label="{{- $header | plainify | safeHTML -}}">{{- $header | plainify | safeHTML -}}</a>
{{- else }}
<li>
- <a href="#{{- $cleanedID -}}" aria-label="{{- $header | plainify -}}">{{- $header | safeHTML -}}</a>
+ <a href="#{{- $cleanedID -}}" aria-label="{{- $header | plainify | safeHTML -}}">{{- $header | plainify | safeHTML -}}</a>
{{- end -}}
{{- end -}}
<!-- {{- $firstHeaderLevel := len (seq (index (findRE "[1-6]" (index $headers 0) 1) 0)) -}} -->