Skip to content

Commit 2ec4b4c

Browse files
authored
dev: fix website search for items with quotes (#5994)
1 parent 51e0d21 commit 2ec4b4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/layouts/_partials/utils/extract-headings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{{ $.scratch.Add "keys" (slice $key) }}
2121
{{ end }}
2222

23-
{{ $title := (printf "<h%d>%s" $heading.Level $heading.Title) }}
23+
{{ $title := (printf "<h%d>%s" $heading.Level $heading.Title) | htmlUnescape }}
2424
{{ $.scratch.Add "titles" (slice $title) }}
2525

2626
{{ partial "utils/extract-headings.html" (dict

0 commit comments

Comments
 (0)