Remove urlize filter from news items, we already have linkified in the commonmark filter.
This commit is contained in:
parent
e3ff8d876e
commit
53adb50baf
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue