Skip to content

Commit

Permalink
Dont unesape this or it wont read the content var
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarsceill committed Feb 2, 2019
1 parent 84f8f00 commit 01b500b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/search.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 01b500b

Please sign in to comment.