stagit

Personal fork of stagit

git clone git://mccd.space/stagit

commit 65e957d10b4c14782559db7ba8c52e6a2082414b
parent 2a9c94420a9153f1f91788b94a974d65953bb20b
Author: Marc <marc@coquand.email>
Date:   Mon, 29 Jun 2026 18:02:11 +0200

*

Diffstat:
Mstagit.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/stagit.c b/stagit.c
@@ -546,8 +546,8 @@ writeheader(FILE *fp, const char *title)
 		fprintf(fp, " | <a href=\"%sfile/%s.html\">LICENSE</a>",
 		        relpath, license);
 	fputs("</td></tr></table>\n<div id=\"content\">\n", fp);
-}
 
+}
 void
 writefooter(FILE *fp)
 {
@@ -965,7 +965,7 @@ writeblob(git_object *obj, const char *fpath, const char *filename, size_t files
 
 	fp = efopen(fpath, "w");
 	writeheader(fp, filename);
-	fputs("<p> ", fp);
+	fputs("<p id=\"filename\"> ", fp);
 	xmlencode(fp, filename, strlen(filename));
 	fprintf(fp, " (%zuB)", filesize);
 	fputs("</p>", fp);