Skip to content
Snippets Groups Projects
Commit e03a7ca7 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

fix: remove markdown from search results

parent dcd79e8a
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@
window.content = { {% for card in the_cards %}
"{{ card.url | slugify }}": {
"title": "{{ card.shortcut | xml_escape }}",
"content": {{ card.content | strip_html | strip_newlines | truncate: 150 | jsonify }},
"content": {{ card.content | markdownify | strip_html | strip_newlines | truncate: 150 | jsonify }},
"url": "{{ card.url | xml_escape | relative_url }}"
} {% unless forloop.last %},{% endunless %} {% endfor %}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment