From 97c652cefdfacca1c68cc1c058be6f0294312c70 Mon Sep 17 00:00:00 2001 From: Trinity Pointard Date: Mon, 18 Jun 2018 19:28:26 +0200 Subject: [PATCH] Remove HTML tags from preview fixes #24 --- templates/macros.html.tera | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/macros.html.tera b/templates/macros.html.tera index 80ad8024..0926eb92 100644 --- a/templates/macros.html.tera +++ b/templates/macros.html.tera @@ -6,7 +6,7 @@ {% endif %}

{{ article.post.title }}

-

{{ article.post.content | striptags | truncate(length=200) }}

+

{{ article.post.content | safe | striptags | truncate(length=200) }}

{{ "By {{ link_1 }}{{ link_2 }}{{ link_3 }}{{ name }}{{ link_4 }}" | _( link_1='