From 1c38ad01792883f8dedbc770554dbf71471889f5 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Sat, 18 Dec 2021 08:56:14 +1100 Subject: [PATCH] Revert removal of "safe" template tag from blog/news headlines. Conservancy use HTML entities in their titles. --- www/conservancy/templates/blog/entry_detail.html | 2 +- www/conservancy/templates/blog/entry_partial.html | 2 +- www/conservancy/templates/feeds/blog_title.html | 2 +- www/conservancy/templates/feeds/news_description.html | 2 +- www/conservancy/templates/feeds/news_title.html | 2 +- www/conservancy/templates/news/pressrelease_detail.html | 2 +- www/conservancy/templates/news/pressrelease_partial.html | 4 ++-- www/conservancy/templates/opengraph_partial.html | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/www/conservancy/templates/blog/entry_detail.html b/www/conservancy/templates/blog/entry_detail.html index 70bd722b..87488a68 100644 --- a/www/conservancy/templates/blog/entry_detail.html +++ b/www/conservancy/templates/blog/entry_detail.html @@ -6,7 +6,7 @@ {% include "opengraph_urllist_partial.html" with property='video' urls=object.get_one_video_url %} {% endblock %} -{% block subtitle %}{{ object.headline|striptags }} - Conservancy Blog - {% endblock %} +{% block subtitle %}{{ object.headline|striptags|safe }} - Conservancy Blog - {% endblock %} {% block content %}