From 26fecf17a6a1c9bb4ded75b55f43b22726b8f8a5 Mon Sep 17 00:00:00 2001 From: 3v0k4 Date: Wed, 13 Nov 2024 13:13:21 +0100 Subject: [PATCH] search: fix whitespaces --- docs/search/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}