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
1 changed files with 1 additions and 1 deletions

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",