From 14644b1b4595e7ebea142c45559a1deccdc39134 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Mon, 15 Aug 2016 08:36:07 +0200 Subject: [PATCH] render commonmark in the village list too --- villages/templates/village_list.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/villages/templates/village_list.html b/villages/templates/village_list.html index baf8103d..185d510c 100644 --- a/villages/templates/village_list.html +++ b/villages/templates/village_list.html @@ -1,4 +1,5 @@ {% extends 'base.html' %} +{% load commonmark %} {% block title %} Villages | {{ block.super }} @@ -43,7 +44,7 @@ Villages | {{ block.super }} - {{ village.description|truncatewords:50 }} + {{ village.description|truncatewords:50|commonmark }}