aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lars Hjemli <hjemli@gmail.com>2007-11-11 21:44:39 (JST)
committerGravatar Lars Hjemli <hjemli@gmail.com>2007-11-11 21:44:39 (JST)
commit1b7c5b2e0b918e9452694aace7c19194683989a8 (patch)
treeefdb7947afbbe1862c6c54ecdce303a6c3772117
parenta7cf406c802394460cb14c79f3f43582d1428a45 (diff)
downloadcgit-1b7c5b2e0b918e9452694aace7c19194683989a8.zip
cgit-1b7c5b2e0b918e9452694aace7c19194683989a8.tar.gz
Generate valid html for "downloads" menu header
Noticed-by: http://validator.w3.org Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r--ui-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 9ec646b..5192800 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -411,7 +411,7 @@ int print_archive_ref(const char *refname, const unsigned char *sha1,
411 hashcpy(fileid, sha1); 411 hashcpy(fileid, sha1);
412 } 412 }
413 if (!*header) { 413 if (!*header) {
414 html("<p><h1>download</h1>"); 414 html("<h1>download</h1>\n");
415 *header = 1; 415 *header = 1;
416 } 416 }
417 url = cgit_pageurl(cgit_query_repo, "blob", 417 url = cgit_pageurl(cgit_query_repo, "blob",