Remove urlize filter from news items, we already have linkified in the commonmark filter.

This commit is contained in:
Víðir Valberg Guðmundsson 2019-03-17 14:49:52 +01:00
parent e3ff8d876e
commit 53adb50baf
2 changed files with 2 additions and 2 deletions

View File

@ -14,5 +14,5 @@
{% endif %}
<h3>{{ news_item.title }} <small>{{ news_item.published_at|date:"Y-m-d" }}</small></h3>
</div>
{{ news_item.content|trustedcommonmark|urlize }}
{{ news_item.content|trustedcommonmark }}
{% endblock %}

View File

@ -20,7 +20,7 @@ News | {{ block.super }}
<div>
<h3><a href="{% url 'news:detail' slug=item.slug %}">{{ item.title }}</a> <small>{{ item.published_at|date:"Y-m-d" }}</small></h3>
</div>
{{ item.content|trustedcommonmark|urlize }}
{{ item.content|trustedcommonmark }}
{% if not forloop.last %}
<hr />
{% endif %}