From fc689f91e64a18b647f468a4222b4e67cec46d23 Mon Sep 17 00:00:00 2001 From: Marie Katrine Ekeberg Date: Thu, 15 Aug 2024 17:30:57 +0200 Subject: [PATCH] Avoid search being affected by html tags inline in articles --- search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search.html b/search.html index aacdc74..beb2c91 100644 --- a/search.html +++ b/search.html @@ -48,7 +48,7 @@

Are you not searching for anything? Enable JS or some id: currentId++, title: `{{ post.title }}`, excerpt: `{{ post.excerpt | strip_html | strip_newlines | escape }}`, - body: decodeURIComponent('{{ post.content | url_encode }}'), + body: decodeURIComponent('{{ post.content | strip_html | url_encode }}'), url: '{{ post.url | relative_url }}' }); {% endfor %}