From 466c92be4978e68167a49d9ee02711011e0f934d Mon Sep 17 00:00:00 2001 From: Noah Swerhun Date: Sat, 17 Apr 2021 14:44:28 -0500 Subject: [PATCH] surrounded 'trailing data' in --- stagit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stagit.c b/stagit.c index 8766840..201bb37 100644 --- a/stagit.c +++ b/stagit.c @@ -540,12 +540,10 @@ writeblobhtml(FILE *fp, const git_blob *blob) n++; fprintf(fp, ""); fprintf(fp, nfmt, n, n, n); - //fprintf(fp, ""); fprintf(fp, ""); nl_only = xmlencode_no_nl(fp, &s[prev], i - prev + 1); if (nl_only) putc('\n', fp); - //fprintf(fp, "\n"); fprintf(fp, ""); fprintf(fp, ""); putc('\n', fp); @@ -555,7 +553,9 @@ writeblobhtml(FILE *fp, const git_blob *blob) if ((len - prev) > 0) { n++; fprintf(fp, nfmt, n, n, n); + fprintf(fp, ""); xmlencode(fp, &s[prev], len - prev); + fprintf(fp, ""); } }