From 67fcf3cc67c842aebd512922a751d0ebe1bb9264 Mon Sep 17 00:00:00 2001 From: Markus Date: Sun, 15 Sep 2024 17:05:02 +0200 Subject: [PATCH] [fix] Removes ``/>`` ending tags for void HTML elements continuation of commit: 0b832f19b Signed-off-by: Markus --- searx/templates/simple/preferences/center_alignment.html | 2 +- searx/templates/simple/preferences/image_proxy.html | 2 +- searx/templates/simple/preferences/infinite_scroll.html | 2 +- searx/templates/simple/preferences/query_in_title.html | 2 +- searx/templates/simple/preferences/results_on_new_tab.html | 2 +- .../templates/simple/preferences/search_on_category_select.html | 2 +- searx/templates/simple/preferences/tokens.html | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/searx/templates/simple/preferences/center_alignment.html b/searx/templates/simple/preferences/center_alignment.html index 80508a1ae..fa94da3ad 100644 --- a/searx/templates/simple/preferences/center_alignment.html +++ b/searx/templates/simple/preferences/center_alignment.html @@ -8,7 +8,7 @@ {%- if preferences.get_value('center_alignment') -%} checked {%- endif -%}{{- ' ' -}} - />{{- '' -}} + >{{- '' -}}

{{- '' -}}
{{- _('Displays results in the center of the page (Oscar layout).') -}} diff --git a/searx/templates/simple/preferences/image_proxy.html b/searx/templates/simple/preferences/image_proxy.html index afb3465d4..d79a57b16 100644 --- a/searx/templates/simple/preferences/image_proxy.html +++ b/searx/templates/simple/preferences/image_proxy.html @@ -8,7 +8,7 @@ {%- if preferences.get_value('image_proxy') -%} checked {%- endif -%}{{- ' ' -}} - />{{- '' -}} + >{{- '' -}}

{{- '' -}}
{{- _('Proxying image results through SearXNG') -}} diff --git a/searx/templates/simple/preferences/infinite_scroll.html b/searx/templates/simple/preferences/infinite_scroll.html index 1a734ae1a..cda8008c9 100644 --- a/searx/templates/simple/preferences/infinite_scroll.html +++ b/searx/templates/simple/preferences/infinite_scroll.html @@ -8,7 +8,7 @@ {%- if preferences.get_value('infinite_scroll') -%} checked {%- endif -%}{{- ' ' -}} - />{{- '' -}} + >{{- '' -}}

{{- '' -}}
{{- _('Automatically load next page when scrolling to bottom of current page') -}} diff --git a/searx/templates/simple/preferences/query_in_title.html b/searx/templates/simple/preferences/query_in_title.html index 924d6ccd1..468df901a 100644 --- a/searx/templates/simple/preferences/query_in_title.html +++ b/searx/templates/simple/preferences/query_in_title.html @@ -8,7 +8,7 @@ {%- if preferences.get_value('query_in_title') -%} checked {%- endif -%}{{- ' ' -}} - />{{- '' -}} + >{{- '' -}}

{{- '' -}}
{{- _("When enabled, the result page's title contains your query. Your browser can record this title") -}} diff --git a/searx/templates/simple/preferences/results_on_new_tab.html b/searx/templates/simple/preferences/results_on_new_tab.html index 972485dcf..2e05bca01 100644 --- a/searx/templates/simple/preferences/results_on_new_tab.html +++ b/searx/templates/simple/preferences/results_on_new_tab.html @@ -8,7 +8,7 @@ {%- if preferences.get_value('results_on_new_tab') -%} checked {%- endif -%}{{- ' ' -}} - />{{- ' ' -}} + >{{- ' ' -}}

{{- '' -}}
{{- _('Open result links on new browser tabs') -}} diff --git a/searx/templates/simple/preferences/search_on_category_select.html b/searx/templates/simple/preferences/search_on_category_select.html index 2bc680a61..76e970fa2 100644 --- a/searx/templates/simple/preferences/search_on_category_select.html +++ b/searx/templates/simple/preferences/search_on_category_select.html @@ -8,7 +8,7 @@ {%- if preferences.get_value('search_on_category_select') -%} checked {%- endif -%}{{- ' ' -}} - />{{- '' -}} + >{{- '' -}}

{{- '' -}}
{{- _('Perform search immediately if a category selected. Disable to select multiple categories') -}} diff --git a/searx/templates/simple/preferences/tokens.html b/searx/templates/simple/preferences/tokens.html index 11d85c75f..51b16cd27 100644 --- a/searx/templates/simple/preferences/tokens.html +++ b/searx/templates/simple/preferences/tokens.html @@ -3,7 +3,7 @@
{{- '' -}} {{- '' -}} + value='{{ preferences.tokens.get_value() }}'>{{- '' -}}
{{- '' -}}
{{- _('Access tokens for private engines') -}}