summaryrefslogtreecommitdiff
path: root/searx/templates/simple/preferences
diff options
context:
space:
mode:
authorGrant Lanham <contact@grantlanham.com>2024-09-10 21:44:30 -0400
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-09-15 15:19:51 +0200
commit0b832f19bf6590f099c572686d847db7cf7487e9 (patch)
tree9169eb1b3d530811c577bf1103c89693ac59282f /searx/templates/simple/preferences
parent28dc623785778a39b9f7d73359c4d535e2c2dc5b (diff)
[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/preferences')
-rw-r--r--searx/templates/simple/preferences/cookies.html4
-rw-r--r--searx/templates/simple/preferences/footer.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/searx/templates/simple/preferences/cookies.html b/searx/templates/simple/preferences/cookies.html
index b13dc6845..674d68234 100644
--- a/searx/templates/simple/preferences/cookies.html
+++ b/searx/templates/simple/preferences/cookies.html
@@ -1,7 +1,7 @@
<p class="text-muted">
{{- _('This is the list of cookies and their values SearXNG is storing on your computer.') }}
- <br />{{- _('With that list, you can assess SearXNG transparency.') -}}
- <br />{{- '' -}}
+ <br>{{- _('With that list, you can assess SearXNG transparency.') -}}
+ <br>{{- '' -}}
</p>
{% if cookies %}
<table class="cookies">
diff --git a/searx/templates/simple/preferences/footer.html b/searx/templates/simple/preferences/footer.html
index 57a0ddaf8..ec14eb74b 100644
--- a/searx/templates/simple/preferences/footer.html
+++ b/searx/templates/simple/preferences/footer.html
@@ -1,9 +1,9 @@
<p class="small_font">
{{- _('These settings are stored in your cookies, this allows us not to store this data about you.') -}}
- <br />{{- _("These cookies serve your sole convenience, we don't use these cookies to track you.") -}}
+ <br>{{- _("These cookies serve your sole convenience, we don't use these cookies to track you.") -}}
</p>{{- '' -}}
-<input type="submit" value="{{ _('Save') }}" />{{- '' -}}
+<input type="submit" value="{{ _('Save') }}">{{- '' -}}
<div class="{% if rtl %}left{% else %}right{% endif %} preferences_back">{{- '' -}}
<a href="{{ url_for('clear_cookies') }}">{{ _('Reset defaults') }}</a>{{- '' -}}