From 9fbc652c7c88612cc203075253a1d64e17cae285 Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Fri, 30 Dec 2016 14:47:39 -0500 Subject: [PATCH] blog: Mark entry headline safe in title. We already strip tags, but this lets HTML entities render correctly. --- www/conservancy/templates/blog/entry_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/conservancy/templates/blog/entry_detail.html b/www/conservancy/templates/blog/entry_detail.html index e3b26c2d..c01bdeb3 100644 --- a/www/conservancy/templates/blog/entry_detail.html +++ b/www/conservancy/templates/blog/entry_detail.html @@ -1,6 +1,6 @@ {% extends "base_blog.html" %} -{% block subtitle %}{{ object.headline|striptags }} - Conservancy Blog - {% endblock %} +{% block subtitle %}{{ object.headline|striptags|safe }} - Conservancy Blog - {% endblock %} {% block content %}