commit 04e75716f1018ae21da88fde32a87e72958105e2
parent f674c660522ee44a19660240d3183d5ca5acd326
Author: mjkloeckner <martin.cachari@gmail.com>
Date: Fri, 6 Jan 2023 00:36:53 -0300
add div wrapping refs content
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/stagit.c b/stagit.c
@@ -579,7 +579,7 @@ writeheader(FILE *fp, const char *title)
void
writefooter(FILE *fp)
{
- fputs("</div>\n</body>\n</html>\n", fp);
+ fputs("</div>\n</div>\n</body>\n</html>\n", fp);
}
size_t
@@ -1694,7 +1694,7 @@ main(int argc, char *argv[])
/* summary page with branches and tags */
fp = efopen("refs.html", "w");
writeheader(fp, "Refs");
- fputs("<div id=\"content\">\n", fp);
+ fputs("<div id=\"content\">\n<div id=\"refs\">\n", fp);
writerefs(fp);
writefooter(fp);
checkfileerror(fp, "refs.html", 'w');