From 53adb50baf7a7897d05b3126ebf91147d3540106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Sun, 17 Mar 2019 14:49:52 +0100 Subject: [PATCH] Remove urlize filter from news items, we already have linkified in the commonmark filter. --- src/news/templates/news_detail.html | 2 +- src/news/templates/news_index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/news/templates/news_detail.html b/src/news/templates/news_detail.html index 676eb89b..3f800508 100644 --- a/src/news/templates/news_detail.html +++ b/src/news/templates/news_detail.html @@ -14,5 +14,5 @@ {% endif %}

{{ news_item.title }} {{ news_item.published_at|date:"Y-m-d" }}

- {{ news_item.content|trustedcommonmark|urlize }} + {{ news_item.content|trustedcommonmark }} {% endblock %} diff --git a/src/news/templates/news_index.html b/src/news/templates/news_index.html index 98ca8a02..382af7c0 100644 --- a/src/news/templates/news_index.html +++ b/src/news/templates/news_index.html @@ -20,7 +20,7 @@ News | {{ block.super }}

{{ item.title }} {{ item.published_at|date:"Y-m-d" }}

- {{ item.content|trustedcommonmark|urlize }} + {{ item.content|trustedcommonmark }} {% if not forloop.last %}
{% endif %}