From 26f93f9c17dcf81c69b814d9d402cd20ef32e1ef Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Mon, 17 Apr 2017 16:00:45 -0400 Subject: clean up template formatting --- unbiased/html_template/unbiased.jinja.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unbiased/html_template/unbiased.jinja.html b/unbiased/html_template/unbiased.jinja.html index 297c4c4..778bebc 100644 --- a/unbiased/html_template/unbiased.jinja.html +++ b/unbiased/html_template/unbiased.jinja.html @@ -23,9 +23,9 @@
-
{{ story.title }}
+
{{ story.title|safe }}
-
{{ story.desc }}
+
{{ story.description|safe|truncate(140) }}
{% endfor %} @@ -40,7 +40,7 @@
-
{{ story.title }}
+
{{ story.title|safe }}
@@ -53,7 +53,7 @@ {% for story in bottom_stories %}
- {{ story.title }} + {{ story.title|safe }}
{% endfor %} -- cgit v1.2.3