stagit-gopher

static git page generator for gopher (mirror)
git clone git://git.2f30.org/stagit-gopher.git
Log | Files | Refs | README | LICENSE

commit f939dd0767be55df7983178f51c85d3e55054056
parent 08a0a0113440d0f80b5f68c596c50e3188b8f9e1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 20 Jul 2020 14:16:11 +0200

regression: do not show unset or empty tags

Diffstat:
Mstagit-gopher.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stagit-gopher.c b/stagit-gopher.c @@ -881,7 +881,7 @@ printcommitatom(FILE *fp, struct commitinfo *ci, const char *tag) } if (ci->summary) { fputs("<title type=\"text\">", fp); - if (tag) { + if (tag && tag[0]) { fputs("[", fp); xmlencode(fp, tag, strlen(tag)); fputs("] ", fp);