stagit

static git page generator  https://git.ce9e.org
git clone https://git.ce9e.org/stagit.git

commit
cfce7ea21ba7adaeaabd79e608fe8688a7aaa300
parent
c76961b1e499a6040417aa1a58910cf00ecdf02c
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-05-02 13:07
fix HTML errors

Diffstat

M src/stagit.c.in 3 +--

1 files changed, 1 insertions, 2 deletions


diff --git a/src/stagit.c.in b/src/stagit.c.in

@@ -425,6 +425,7 @@ write_commit_statline(FILE *fp, struct deltainfo *di, size_t i)
  425   425 	T("</span><span class=\"d\">");
  426   426 	for (j = 0; j < di->delcount && j * total < di->delcount * 60; j++)
  427   427 		fputc('-', fp);
   -1   428 	T("</span></td>");
  428   429 
  429   430 	T("</tr>\n");
  430   431 }
@@ -517,9 +518,7 @@ write_commit(FILE *fp, struct commitinfo *ci)
  517   518 	}
  518   519 
  519   520 	T("</table>\n");
  520    -1 	T("<p>");
  521   521 	T("<p>{cs->ndeltas:%zu} files changed, {cs->addcount:%zu} insertions, {cs->delcount:%zu} deletions</p>\n");
  522    -1 	T("</p>\n");
  523   522 	T("<hr/>\n");
  524   523 
  525   524 	for (i = 0; i < cs->ndeltas; i++) {