From 3929112fbbc4a68d7f8eef6c15d42391234c8aa3 Mon Sep 17 00:00:00 2001
From: Patrick Marsceill <patrick.marsceill@gmail.com>
Date: Fri, 9 Jun 2017 11:25:19 -0400
Subject: [PATCH] It was you the entire time

---
 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 79b940cf..e196e216 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 '---
-- 
GitLab