diff options
author | Lars Hjemli | 2007-11-11 13:44:39 +0100 |
---|---|---|
committer | Lars Hjemli | 2007-11-11 13:44:39 +0100 |
commit | 1b7c5b2e0b918e9452694aace7c19194683989a8 (patch) | |
tree | efdb7947afbbe1862c6c54ecdce303a6c3772117 | |
parent | Merge branch 'lh/testsuite' (diff) | |
download | cgit-1b7c5b2e0b918e9452694aace7c19194683989a8.tar.gz cgit-1b7c5b2e0b918e9452694aace7c19194683989a8.zip |
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.c | 2 |
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", |