summaryrefslogtreecommitdiff
path: root/searx/templates/simple
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-07-27 11:28:37 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-07-27 11:46:25 +0200
commit3f22dbb68ab1b1effa84048e15651c5b2e6aa160 (patch)
tree2177001d86b6261c3eb51b1ff097cd7698e9b370 /searx/templates/simple
parent84abab0808669bb237843e88e725946e74f44642 (diff)
downloadsearxng-3f22dbb68ab1b1effa84048e15651c5b2e6aa160.tar.gz
searxng-3f22dbb68ab1b1effa84048e15651c5b2e6aa160.zip
[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>
Diffstat (limited to 'searx/templates/simple')
-rw-r--r--searx/templates/simple/result_templates/products.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/result_templates/products.html b/searx/templates/simple/result_templates/products.html
index 0a9bbf03a..ce599aef7 100644
--- a/searx/templates/simple/result_templates/products.html
+++ b/searx/templates/simple/result_templates/products.html
@@ -7,7 +7,7 @@
{% if result.source_country %}<div class="result_source_country">{{ result.source_country }}</div></br>{% endif %}
{%- if result.content %}
<p class="content">
- {{ result.content }}
+ {{ result.content|safe }}
</p>
{% endif -%}
{{- result_sub_footer(result, proxify) -}}