1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[fix] products template: don't quote html tags in result.content

The result.content field is *safe* HTML, tags to highlight search terms are
intended.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2024-07-27 11:28:37 +02:00 committed by Markus Heiser
parent 84abab0808
commit 3f22dbb68a

View File

@ -7,7 +7,7 @@
{% if result.source_country %}<div class="result_source_country">{{ result.source_country }}</div></br>{% endif %} {% if result.source_country %}<div class="result_source_country">{{ result.source_country }}</div></br>{% endif %}
{%- if result.content %} {%- if result.content %}
<p class="content"> <p class="content">
{{ result.content }} {{ result.content|safe }}
</p> </p>
{% endif -%} {% endif -%}
{{- result_sub_footer(result, proxify) -}} {{- result_sub_footer(result, proxify) -}}