]> git.cameronkatri.com Git - cgit.git/commitdiff
Generate valid html for "downloads" menu header
authorLars Hjemli <hjemli@gmail.com>
Sun, 11 Nov 2007 12:44:39 +0000 (13:44 +0100)
committerLars Hjemli <hjemli@gmail.com>
Sun, 11 Nov 2007 12:44:39 +0000 (13:44 +0100)
Noticed-by: http://validator.w3.org
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
ui-shared.c

index 9ec646be6423579484d1972076be62f4cdc0f09f..519280018184c6afe7d1988e6ec1a50d709b1cb2 100644 (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",