diff --git a/assets/js/lunr/lunr-store.js b/assets/js/lunr/lunr-store.js
index 434b5997..660e9f2b 100644
--- a/assets/js/lunr/lunr-store.js
+++ b/assets/js/lunr/lunr-store.js
@@ -18,7 +18,8 @@ var store = [
"title": {{ doc.title | jsonify }},
"excerpt":
{%- if site.search_full_content == true -%}
- {{ doc.content |
+ {{ doc.content | newline_to_br |
+ replace:"
", " " |
replace:"