diff options
-rw-r--r-- | unbiased/html_template/unbiased.jinja.html | 8 |
1 files 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 @@ <div class="top-story"> <a target="_blank" onclick="window.open('{{ story.url }}', '_blank')"> <div class="top-stories-img" style="background-image: url('{{ story.img }}');" /></div> - <div class="top-stories-hed">{{ story.title }}</div> + <div class="top-stories-hed">{{ story.title|safe }}</div> </a> - <div class="top-stories-desc">{{ story.desc }}</div> + <div class="top-stories-desc">{{ story.description|safe|truncate(140) }}</div> </div> {% endfor %} @@ -40,7 +40,7 @@ <div class="middle-story"> <div class="middle-stories-img" style="background-image: url('{{ story.img }}');"> </div> - <div class="middle-stories-hed">{{ story.title }}</div> + <div class="middle-stories-hed">{{ story.title|safe }}</div> </div> </a> @@ -53,7 +53,7 @@ {% for story in bottom_stories %} <div class="bottom-story"> - <a target="_blank" onclick="window.open('{{ story.url }}', '_blank')">{{ story.title }}</a> + <a target="_blank" onclick="window.open('{{ story.url }}', '_blank')">{{ story.title|safe }}</a> </div> {% endfor %} |