From 4765c5442fafef5167c1b7c9169cb772b582f167 Mon Sep 17 00:00:00 2001 From: Luke Kysow Date: Mon, 12 Sep 2016 16:56:57 -0700 Subject: [PATCH] Use actual tab character in replace for search The `^t` wasn't working but an actual tab did --- pages/mydoc/mydoc_search_configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/mydoc/mydoc_search_configuration.md b/pages/mydoc/mydoc_search_configuration.md index 99a512e..0107493 100644 --- a/pages/mydoc/mydoc_search_configuration.md +++ b/pages/mydoc/mydoc_search_configuration.md @@ -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 %}