stagit
Fork of stagit for GNUfault.org
Log | Files | Refs | README | LICENSE
commit 89ea0e1360534257667d706b9f9f220a80fd65b4
parent bf96e67b0cd3ab26e5fa4b95a0d78087e5997dac
Author: Connor Thomson <connor@gnufault.org>
Date:   Wed, 11 Nov 2026 17:19:30 -0800

Fix warning and close <title>

Diffstat:
Mstagit-index.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/stagit-index.c b/stagit-index.c @@ -99,9 +99,9 @@ writeheader(FILE *fp) "<html>\n<head>\n" "<title>", fp); xmlencode(fp, description, strlen(description)); - fputs("</head>\n<body>\n", fp); + fputs("</title>\n</head>\n<body>\n", fp); fprintf(fp, "<table>\n<tr><td></td>\n" - "<td><span class=\"desc\">", relpath); + "<td><span class=\"desc\">"); xmlencode(fp, description, strlen(description)); fputs("</span></td></tr><tr><td></td><td>\n" "</td></tr>\n</table>\n<hr/>\n"