about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-11-11 13:44:39 +0100
committerLars Hjemli <hjemli@gmail.com>2007-11-11 13:44:39 +0100
commit1b7c5b2e0b918e9452694aace7c19194683989a8 (patch)
treeefdb7947afbbe1862c6c54ecdce303a6c3772117
parentMerge branch 'lh/testsuite' (diff)
downloadcgit-pink-1b7c5b2e0b918e9452694aace7c19194683989a8.tar.gz
cgit-pink-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 '')
-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,
 		hashcpy(fileid, sha1);
 	}
 	if (!*header) {
-		html("<p><h1>download</h1>");
+		html("<h1>download</h1>\n");
 		*header = 1;
 	}
 	url = cgit_pageurl(cgit_query_repo, "blob",