diff --git a/search.json b/search.json index f893ed318..6e33c25bc 100644 --- a/search.json +++ b/search.json @@ -14,7 +14,7 @@ sitemap: "tags" : "{{ post.tags | join: ', ' }}", "url" : "{{ site.baseurl }}{{ post.url }}", "date" : "{{ post.date }}", - "content" : "{{ post.content | strip_html | strip_newlines | remove_chars | escape | truncate:200 }}" + "content" : "{{ post.content | strip_html | strip_newlines | remove_chars | remove: " " | escape | truncate:200 }}" } {% unless forloop.last %},{% endunless %} {% endfor %} -] \ No newline at end of file +]