From 1c38ad01792883f8dedbc770554dbf71471889f5 2021-12-17 21:58:53 From: Ben Sturmfels Date: 2021-12-17 21:58:53 Subject: [PATCH] Revert removal of "safe" template tag from blog/news headlines. Conservancy use HTML entities in their titles. --- diff --git a/www/conservancy/templates/blog/entry_detail.html b/www/conservancy/templates/blog/entry_detail.html index 70bd722bd94c505faa81f3037f2575ca34ba42aa..87488a68ceef34ebd7b3ff0e02e9d8774f901c68 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 %}