]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.c
Generate valid html for "downloads" menu header
[ps-cgit] / 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",