From ee3b66c86dde01555118ff493ac1f174ae4cf652 Mon Sep 17 00:00:00 2001 From: Patrick Marsceill Date: Mon, 12 Jun 2017 14:24:30 -0400 Subject: [PATCH] I dont think i need you --- 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 e196e21..79b940c 100644 --- a/lib/tasks/search.rake +++ b/lib/tasks/search.rake @@ -3,7 +3,7 @@ namespace :search do task :init do puts 'Creating search data json file...' touch 'search-data.json' - content = %Q[{{ page.content | markdownify | strip_html | xml_escape | remove: 'Table of contents' | remove: page.title | strip_newlines | replace: '#{\}', ' ' }}] + content = %Q[{{ page.content | markdownify | strip_html | xml_escape | remove: 'Table of contents' | remove: page.title | strip_newlines | replace: '\', ' ' }}] File.open('search-data.json', 'w') do |f| f.puts '---