From 11fcb0f86dc6fe78d499be7f869bb31a87a5911c Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 14 Aug 2026 11:19:02 -1000 Subject: Drop the XHTML slashes and boolean spellings --- source/html.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/html.c') diff --git a/source/html.c b/source/html.c index f69f109..ae8acd6 100644 --- a/source/html.c +++ b/source/html.c @@ -323,7 +323,7 @@ void html_hidden(const char *name, const char *value) html_attr(name); html("' value='"); html_attr(value); - html("'/>"); + html("'>"); } void html_option(const char *value, const char *text, @@ -333,7 +333,7 @@ void html_option(const char *value, const char *text, html_attr(value); html("'"); if (selected_value && !strcmp(selected_value, value)) - html(" selected='selected'"); + html(" selected"); html(">"); html_txt(text); html("\n"); @@ -342,9 +342,9 @@ void html_option(const char *value, const char *text, void html_intoption(int value, const char *text, int selected_value) { htmlf(""); + html("\n"); } void html_link_open(const char *url, const char *title, const char *class) -- cgit v2.8.0