From 01b500b1b394513acb76f9261b0eb36c5f677498 Mon Sep 17 00:00:00 2001 From: Patrick Marsceill <patrick.marsceill@gmail.com> Date: Sat, 2 Feb 2019 11:46:46 -0800 Subject: [PATCH] Dont unesape this or it wont read the content var --- lib/tasks/search.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/search.rake b/lib/tasks/search.rake index 9a933b37..44ee417b 100644 --- a/lib/tasks/search.rake +++ b/lib/tasks/search.rake @@ -15,7 +15,7 @@ namespace :search do {% for page in site.html_pages %}{% if page.search_exclude != true %}"{{ forloop.index0 }}": { "id": "{{ forloop.index0 }}", "title": "{{ page.title | replace: \'&\', \'&\' }}", - "content": "\'+content+\'", + "content": "'+content+'", "url": "{{ page.url | absolute_url }}", "relUrl": "{{ page.url }}" }{% unless forloop.last %},{% endunless %} -- GitLab