We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86d64f4 commit 05d296cCopy full SHA for 05d296c
assets/js/lunr/lunr-store.js
@@ -18,7 +18,8 @@ var store = [
18
"title": {{ doc.title | jsonify }},
19
"excerpt":
20
{%- if site.search_full_content == true -%}
21
- {{ doc.content |
+ {{ doc.content | newline_to_br |
22
+ replace:"<br />", " " |
23
replace:"</p>", " " |
24
replace:"</h1>", " " |
25
replace:"</h2>", " " |
@@ -28,7 +29,8 @@ var store = [
28
29
replace:"</h6>", " "|
30
strip_html | strip_newlines | jsonify }},
31
{%- else -%}
32
33
34
35
36
0 commit comments