Skip to content

Commit b8107e1

Browse files
committed
Render faq answers with markdown
1 parent 58d405e commit b8107e1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/about/templates/about/faq_list.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{% extends "about/base.html" %}
22

3+
{% load utils %}
4+
35
{% block title %}Asociación - {{ block.super }}{% endblock %}
46

57
{% block body_class %}faq-index{% endblock %}
@@ -17,7 +19,7 @@ <h1 class="title">FAQ</h1>
1719
<a class="dyn-anchor-link" href="#{{ faq.question|slugify }}"><i class="fas fa-link"></i></a>
1820
</div>
1921
<div class="faq-answer">
20-
<p>{{ faq.answer|linebreaksbr }}</p>
22+
<p>{{ faq.answer|as_markdown }}</p>
2123
</div>
2224
</article>
2325
{% endfor %}

0 commit comments

Comments
 (0)