From e07c0e84d48c1d815ce117169e11de0431a00050 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 15 Aug 2026 10:17:14 -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 2.12.1