Skip to content

Commit

Permalink
search: fix whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
3v0k4 committed Nov 13, 2024
1 parent f932498 commit 26fecf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/search/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ search: false
{% unless page.path contains 'v1/' %}
"{{ page.url | slugify }}": {
"title": "{{ page.title | smartify | xml_escape }}",
"content": {{ page.content | markdownify | strip_html | strip_newlines | jsonify }},
"content": {{ page.content | markdownify | strip_html | normalize_whitespace | jsonify }},
"section": "{{ page.url }}".split("/").filter(element => element !== "").slice(1).join("/"),
"url": "{{ page.url | xml_escape }}"
}{% unless forloop.last %},{% endunless %}
Expand Down

0 comments on commit 26fecf1

Please sign in to comment.