Commit f1a95bd7 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

Merge branch 'remove-markdown-from-search-results' into 'develop'

Remove markdown from search results

See merge request R3/howto-cards!255
parents b1a971ad e03a7ca7
......@@ -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 %}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment