From 0b832f19bf6590f099c572686d847db7cf7487e9 Mon Sep 17 00:00:00 2001 From: Grant Lanham Date: Tue, 10 Sep 2024 21:44:30 -0400 Subject: [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 --- searx/templates/simple/preferences.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'searx/templates/simple/preferences.html') diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index 9dab84fd1..5b72d5f9e 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -6,7 +6,7 @@ {%- endmacro -%} {%- macro tab_header(name, id, label, checked) -%} - +
{%- endmacro -%} @@ -23,7 +23,7 @@ {%- if checked == '?' -%} {{- icon_small('warning') -}} {%- else -%} - + {%- endif -%} {%- endmacro -%} @@ -33,7 +33,7 @@ id="{{ name }}" {{- ' ' -}} aria-labelledby="pref_{{ name }}"{{- ' ' -}} class="checkbox-onoff reversed-checkbox"{{- ' ' -}} - {%- if checked -%} checked{%- endif -%}/> + {%- if checked -%} checked{%- endif -%}> {%- endmacro -%} {%- macro plugin_preferences(section) -%} -- cgit v1.2.3