Files @ 7f5f98e5db03
Branch filter:

Location: website/www/conservancy/templates/news/pressrelease_detail.html

brett
news: Render HTML entities in press release titles.

Same rationale as for blogs a few commits ago.
{% extends "base_news.html" %}

{% block subtitle %}{{ object.headline|striptags|safe }} - {% endblock %}

{% block content %}

<div id="mainContent">
<p class="date">{{ object.pub_date|date:"F j, Y" }}</p>
<h2>{{ object.headline|safe }}</h2>
{% if object.subhead %}
<h3>{{ object.subhead|safe }}</h3>
{% endif %}

{{ object.summary|safe }}

{{ object.body|safe }}
</div>
{% endblock %}