lib/tasks/search.rake in just-the-docs-0.2.2 vs lib/tasks/search.rake in just-the-docs-0.2.3
- old
+ new
@@ -12,10 +12,10 @@
f.puts '---
---
{
{% for page in site.html_pages %}{% if page.search_exclude != true %}"{{ forloop.index0 }}": {
"id": "{{ forloop.index0 }}",
- "title": "{{ page.title | replace: '&', '&' }}",
+ "title": "{{ page.title | replace: \'&\', \'&\' }}",
"content": "'+content+'",
"url": "{{ page.url | absolute_url }}",
"relUrl": "{{ page.url }}"
}{% unless forloop.last %},{% endunless %}
{% endif %}{% endfor %}