X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/80f12b3e7e43edcb06aea9811b790b16ca204c81..9afda36ed72083febca5e1a249b7f9f09205fe16:/ui-shared.c?ds=sidebyside diff --git a/ui-shared.c b/ui-shared.c index bf92747..770b685 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -12,8 +12,7 @@ #include "html.h" static const char cgit_doctype[] = -"\n"; +"\n"; static char *http_date(time_t t) { @@ -723,7 +722,7 @@ void cgit_print_docstart(void) char *host = cgit_hosturl(); html(cgit_doctype); - html("\n"); + html("\n"); html("\n"); html(""); html_txt(ctx.page.title); @@ -945,7 +944,7 @@ static void print_header(void) if (ctx.repo->enable_remote_branches) for_each_remote_ref(print_branch_option, ctx.qry.head); html("</select> "); - html("<input type='submit' name='' value='switch'/>"); + html("<input type='submit' value='switch'/>"); html("</form>"); } } else