summaryrefslogtreecommitdiff
path: root/docs/admin
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 /docs/admin
parent28dc623785778a39b9f7d73359c4d535e2c2dc5b (diff)
downloadsearxng-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 'docs/admin')
-rw-r--r--docs/admin/api.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/admin/api.rst b/docs/admin/api.rst
index 8f4552f9c..8bd563ba7 100644
--- a/docs/admin/api.rst
+++ b/docs/admin/api.rst
@@ -84,9 +84,9 @@ HTML of the site. URL of the SearXNG instance and values are customizable.
.. code:: html
<form method="post" action="https://example.org/">
- <!-- search --> <input type="text" name="q" />
- <!-- categories --> <input type="hidden" name="categories" value="general,social media" />
- <!-- language --> <input type="hidden" name="lang" value="all" />
- <!-- locale --> <input type="hidden" name="locale" value="en" />
- <!-- date filter --> <input type="hidden" name="time_range" value="month" />
+ <!-- search --> <input type="text" name="q">
+ <!-- categories --> <input type="hidden" name="categories" value="general,social media">
+ <!-- language --> <input type="hidden" name="lang" value="all">
+ <!-- locale --> <input type="hidden" name="locale" value="en">
+ <!-- date filter --> <input type="hidden" name="time_range" value="month">
</form>