aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
authorLars Hjemli2007-11-11 13:44:39 +0100
committerLars Hjemli2007-11-11 13:44:39 +0100
commit1b7c5b2e0b918e9452694aace7c19194683989a8 (patch)
treeefdb7947afbbe1862c6c54ecdce303a6c3772117 /ui-shared.c
parenta7cf406c802394460cb14c79f3f43582d1428a45 (diff)
downloadcgit-1b7c5b2e0b918e9452694aace7c19194683989a8.tar.gz
cgit-1b7c5b2e0b918e9452694aace7c19194683989a8.tar.bz2
cgit-1b7c5b2e0b918e9452694aace7c19194683989a8.zip
Generate valid html for "downloads" menu header
Noticed-by: http://validator.w3.org Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-shared.c')
-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",