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 %}
by {{ entry.author.formal_name }} diff --git a/www/conservancy/templates/feeds/blog_title.html b/www/conservancy/templates/feeds/blog_title.html index d05ff107..41fedac7 100644 --- a/www/conservancy/templates/feeds/blog_title.html +++ b/www/conservancy/templates/feeds/blog_title.html @@ -1 +1 @@ -{{ obj.headline|striptags }} +{{ obj.headline|striptags|safe }} diff --git a/www/conservancy/templates/feeds/news_description.html b/www/conservancy/templates/feeds/news_description.html index 69751ba9..34c9a619 100644 --- a/www/conservancy/templates/feeds/news_description.html +++ b/www/conservancy/templates/feeds/news_description.html @@ -1,3 +1,3 @@ -{% if obj.subhead %}
{{ obj.subhead }}
{% endif %} +{% if obj.subhead %}{{ obj.subhead|safe }}
{% endif %} {{ obj.summary|safe }} {{ obj.body|safe }} diff --git a/www/conservancy/templates/feeds/news_title.html b/www/conservancy/templates/feeds/news_title.html index d05ff107..41fedac7 100644 --- a/www/conservancy/templates/feeds/news_title.html +++ b/www/conservancy/templates/feeds/news_title.html @@ -1 +1 @@ -{{ obj.headline|striptags }} +{{ obj.headline|striptags|safe }} diff --git a/www/conservancy/templates/news/pressrelease_detail.html b/www/conservancy/templates/news/pressrelease_detail.html index 8cabc8ad..90ac7fcf 100644 --- a/www/conservancy/templates/news/pressrelease_detail.html +++ b/www/conservancy/templates/news/pressrelease_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 }} - {% endblock %} +{% block subtitle %}{{ object.headline|striptags|safe }} - {% endblock %} {% block content %} diff --git a/www/conservancy/templates/news/pressrelease_partial.html b/www/conservancy/templates/news/pressrelease_partial.html index 2751cb4f..dc0fb687 100644 --- a/www/conservancy/templates/news/pressrelease_partial.html +++ b/www/conservancy/templates/news/pressrelease_partial.html @@ -19,13 +19,13 @@ This partial accepts these optional parameters: <{{ htag|default:"h3" }} class="clear" >{% if show|default:"body" != "body" %}{% endif %}{{ pressr.headline }}{% if show|default:"body" != "body" %}{% endif %}{{ htag|default:"h3" }}> + >{% endif %}{{ pressr.headline|safe }}{% if show|default:"body" != "body" %}{% endif %}{{ htag|default:"h3" }}> {% if show != "headline" %} {% if show != "dateline" and pressr.subhead %} {# This filter sequence generates the "next" hN tag from htag #}{{ pressr.pub_date|date:"F j, Y" }}
diff --git a/www/conservancy/templates/opengraph_partial.html b/www/conservancy/templates/opengraph_partial.html index 3143ca71..631529df 100644 --- a/www/conservancy/templates/opengraph_partial.html +++ b/www/conservancy/templates/opengraph_partial.html @@ -36,9 +36,9 @@ normally shouldn't need to: {% endif %} {% if title %} - + {% endif %} {% if description %} - + {% endif %}