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/elements | |
| parent | 28dc623785778a39b9f7d73359c4d535e2c2dc5b (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/elements')
| -rw-r--r-- | searx/templates/simple/elements/infobox.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/elements/infobox.html b/searx/templates/simple/elements/infobox.html index 68fd32559..4d75ad802 100644 --- a/searx/templates/simple/elements/infobox.html +++ b/searx/templates/simple/elements/infobox.html @@ -38,7 +38,7 @@ <input type="hidden" name="safesearch" value="{{ safesearch }}"> <input type="hidden" name="theme" value="{{ theme }}"> {%- if timeout_limit -%}<input type="hidden" name="timeout_limit" value="{{ timeout_limit|e }}" >{%- endif -%} - <input type="submit" value="{{ suggestion }}" /> + <input type="submit" value="{{ suggestion }}"> </form> {%- endfor -%} </div> |