mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 16:38:42 +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:
parent
a7cf406c80
commit
1b7c5b2e0b
@ -411,7 +411,7 @@ int print_archive_ref(const char *refname, const unsigned char *sha1,
|
|||||||
hashcpy(fileid, sha1);
|
hashcpy(fileid, sha1);
|
||||||
}
|
}
|
||||||
if (!*header) {
|
if (!*header) {
|
||||||
html("<p><h1>download</h1>");
|
html("<h1>download</h1>\n");
|
||||||
*header = 1;
|
*header = 1;
|
||||||
}
|
}
|
||||||
url = cgit_pageurl(cgit_query_repo, "blob",
|
url = cgit_pageurl(cgit_query_repo, "blob",
|
||||||
|
Loading…
Reference in New Issue
Block a user