From mboxrd@z Thu Jan 1 00:00:00 1970
From: wub at partyvan.eu (Juuso Lapinlampi)
Date: Wed, 11 May 2016 18:04:18 +0000
Subject: [PATCH 5/5] ui-shared: Remove a name attribute with an empty value
In-Reply-To: <1462989858-15825-1-git-send-email-wub@partyvan.eu>
References: <1462989858-15825-1-git-send-email-wub@partyvan.eu>
Message-ID: <1462989858-15825-6-git-send-email-wub@partyvan.eu>
The name attribute is optional in an input element, but it must not be
an empty value.
See: https://html.spec.whatwg.org/#attr-fe-name
See: https://html.spec.whatwg.org/#the-input-element
---
ui-shared.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui-shared.c b/ui-shared.c
index 0b7fdec..a0dec5e 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -947,7 +947,7 @@ static void print_header(void)
if (ctx.repo->enable_remote_branches)
for_each_remote_ref(print_branch_option, ctx.qry.head);
html(" ");
- html("");
+ html("");
html("");
}
} else
--
2.8.1