Fix links in comments

Comments were linebreaked before they would be urllinkified, which
rendered links unusable.

Change-Id: Id0274c4d116a6426b96fd0925243ea9e81b613b3
This commit is contained in:
Thierry Carrez 2013-09-11 16:02:47 +02:00
parent d6def4d665
commit a80006058c

View File

@ -5,6 +5,6 @@
{% if comment.author == proposal.proposer %}<i>[proposer]</i>{% endif %} {% if comment.author == proposal.proposer %}<i>[proposer]</i>{% endif %}
{% if comment.author.username == proposal.topic.lead_username %}<i>[topiclead]</i>{% endif %} {% if comment.author.username == proposal.topic.lead_username %}<i>[topiclead]</i>{% endif %}
on {{ comment.posted_date|date:"Y-m-d G:i O" }}:<br> on {{ comment.posted_date|date:"Y-m-d G:i O" }}:<br>
{{ comment.content|linebreaks|urlize }}</p> {{ comment.content|urlize|linebreaks }}</p>
<br><hr> <br><hr>
{% endfor %} {% endfor %}