0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00

Remove erroneous |safe filter from search results template

This commit is contained in:
Matt Westcott 2017-04-21 12:54:05 +01:00
parent f5890ca66c
commit 12a68c00dd

View File

@ -19,7 +19,7 @@
<li>
<h4><a href="{% templatetag openblock %} pageurl result {% templatetag closeblock %}">{% templatetag openvariable %} result {% templatetag closevariable %}</a></h4>
{% templatetag openblock %} if result.search_description {% templatetag closeblock %}
{% templatetag openvariable %} result.search_description|safe {% templatetag closevariable %}
{% templatetag openvariable %} result.search_description {% templatetag closevariable %}
{% templatetag openblock %} endif {% templatetag closeblock %}
</li>
{% templatetag openblock %} endfor {% templatetag closeblock %}