diff --git a/docs/search/index.md b/docs/search/index.md index e4c957c..043bb09 100644 --- a/docs/search/index.md +++ b/docs/search/index.md @@ -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 %}