diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Drop the XHTML slashes and boolean spellings
Diffstat (limited to '')
-rw-r--r--source/ui-shared.c12
1 file changed, 6 insertions, 6 deletions
diff --git a/source/ui-shared.c b/source/ui-shared.c
index b776a60..7a2255e 100644
--- a/source/ui-shared.c
+++ b/source/ui-shared.c
@@ -412,7 +412,7 @@ static void print_header(void)
html_attr(root_url());
html("'><img src='");
html_attr(logo);
- html("' alt='cgit logo'/></a>\n");
+ html("' alt='cgit logo'></a>\n");
}
html("<h1 class='main'>");
@@ -437,7 +437,7 @@ static void print_header(void)
refs_for_each_remote_ref(get_main_ref_store(the_repository),
print_branch_option, &branch_count);
html("</select> ");
- html("<input type='submit' value='switch'/>");
+ html("<input type='submit' value='switch'>");
html("</form>\n");
}
@@ -546,8 +546,8 @@ static void print_repo_search(void)
html("</select>\n");
html("<input class='txt' type='search' name='q' aria-label='Search' value='");
html_attr(ctx.qry.search);
- html("'/>\n");
- html("<input type='submit' value='search'/>\n");
+ html("'>\n");
+ html("<input type='submit' value='search'>\n");
html("</form>\n");
}
@@ -575,8 +575,8 @@ static void print_site_search(void)
html("'>\n");
html("<input class='txt' type='search' name='q' aria-label='Search' value='");
html_attr(ctx.qry.search);
- html("'/>\n");
- html("<input type='submit' value='search'/>\n");
+ html("'>\n");
+ html("<input type='submit' value='search'>\n");
html("</form>\n");
free(currenturl);
}