diff options
author | Grant Lanham <contact@grantlanham.com> | 2024-09-10 21:44:30 -0400 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-09-15 15:19:51 +0200 |
commit | 0b832f19bf6590f099c572686d847db7cf7487e9 (patch) | |
tree | 9169eb1b3d530811c577bf1103c89693ac59282f /searx/templates/simple/results.html | |
parent | 28dc623785778a39b9f7d73359c4d535e2c2dc5b (diff) | |
download | searxng-0b832f19bf6590f099c572686d847db7cf7487e9.tar.gz searxng-0b832f19bf6590f099c572686d847db7cf7487e9.zip |
[fix] Removes ``/>`` ending tags for void HTML elements
Removes ``/>`` ending tags for void elements [1] and replaces them with ``>``.
Part of the larger cleanup to cleanup invalid HTML throughout the codebase [2].
[1] https://html.spec.whatwg.org/multipage/syntax.html#void-elements
[2] https://github.com/searxng/searxng/issues/3793
Diffstat (limited to 'searx/templates/simple/results.html')
-rw-r--r-- | searx/templates/simple/results.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/results.html b/searx/templates/simple/results.html index 05a21674f..fbc41a17a 100644 --- a/searx/templates/simple/results.html +++ b/searx/templates/simple/results.html @@ -3,7 +3,7 @@ {% macro engine_data_form(engine_data) -%} {% for engine_name, kv_data in engine_data.items() %} {% for k, v in kv_data.items() %} - <input type="hidden" name="engine_data-{{ engine_name }}-{{ k|e }}" value="{{ v|e }}" /> + <input type="hidden" name="engine_data-{{ engine_name }}-{{ k|e }}" value="{{ v|e }}"> {% endfor %} {% endfor %} {%- endmacro %} |