2
0
mirror of https://git.zx2c4.com/cgit/ synced 2024-11-04 06:00:44 +00:00

Generate valid html for "downloads" menu header

Noticed-by: http://validator.w3.org
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli 2007-11-11 13:44:39 +01:00
parent a7cf406c80
commit 1b7c5b2e0b

View File

@ -411,7 +411,7 @@ int print_archive_ref(const char *refname, const unsigned char *sha1,
hashcpy(fileid, sha1);
}
if (!*header) {
html("<p><h1>download</h1>");
html("<h1>download</h1>\n");
*header = 1;
}
url = cgit_pageurl(cgit_query_repo, "blob",