fix: unescape html for link title

This commit is contained in:
Xin 2023-10-24 20:41:50 +01:00
parent 5842f893a3
commit 1048ee47d7

View File

@ -87,7 +87,7 @@
href="{{ .link }}"
{{ if $external }}target="_blank" rel="noreferer"{{ end }}
>
{{- .title -}}
{{- .title | htmlUnescape | safeHTML -}}
{{- with .context }}
{{- if or .RegularPages .Sections .section }}{{ partialCached "sidebar/collapsible-button" . }}{{ end -}}
{{ end -}}