Skip to content

Commit 88e524c

Browse files
committed
dev: fix website search for items with quotes
1 parent 51e0d21 commit 88e524c

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
@@ -21,7 +21,7 @@
2121
{{ end }}
2222

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

2626
{{ partial "utils/extract-headings.html" (dict
2727
"target" $heading

0 commit comments

Comments
 (0)