usethesource: Add line breaks and linkifying to landing page descriptions

This commit is contained in:
Ben Sturmfels 2024-02-01 12:12:15 +11:00
parent 6bd16754f2
commit 98d8a625c0

View file

@ -31,7 +31,7 @@
<div class="mb3">
<h3 class="f4 lh-title mt0"><a href="{% url 'usethesource:candidate' slug=candidate.slug %}">{{ candidate.name }}</a></h3>
<p class="mb2"><em>Released {{ candidate.release_date }}</em></p>
<p>{{ candidate.description }}</p>
<p>{{ candidate.description|urlize|linebreaksbr}}</p>
</div>
{% endfor %}
</section>