sanitize headlines

This commit is contained in:
bkfox
2020-02-18 19:55:33 +01:00
parent c9c138eaed
commit 08ac869772
4 changed files with 6 additions and 5 deletions

View File

@ -72,7 +72,7 @@
</section>
{% if is_paginated %}
<hr>
<hr/>
{% update_query request.GET.copy page=None as GET %}
{% with GET.urlencode as GET %}
<nav class="pagination is-centered" role="pagination" aria-label="{% trans "pagination" %}">

View File

@ -51,9 +51,7 @@ Context variables:
{% if has_headline|default_if_none:True %}
<div class="headline">
{% block headline %}
{{ object.headline|safe }}
{% endblock %}
{% block headline %}{{ object.headline }}{% endblock %}
</div>
{% endif %}
</div>