diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2024-07-27 11:28:37 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-07-27 11:46:25 +0200 |
commit | 3f22dbb68ab1b1effa84048e15651c5b2e6aa160 (patch) | |
tree | 2177001d86b6261c3eb51b1ff097cd7698e9b370 /searx | |
parent | 84abab0808669bb237843e88e725946e74f44642 (diff) | |
download | searxng-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')
-rw-r--r-- | searx/templates/simple/result_templates/products.html | 2 |
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) -}} |