Merge pull request #40 from lkysow/patch-3

Use actual tab character in replace for search
This commit is contained in:
Tom Johnson
2016-11-09 22:36:12 -08:00
committed by GitHub

View File

@ -35,7 +35,7 @@ I've found that include the `body` field in the search creates too many problems
{% raw %}
```json
"body": "{{ page.content | strip_html | strip_newlines | replace: '\', '\\\\' | replace: '"', '\\"' | replace: '^t', ' ' }}",
"body": "{{ page.content | strip_html | strip_newlines | replace: '\', '\\\\' | replace: '"', '\\"' | replace: ' ', ' ' }}",
```
{% endraw %}