Introduction
Introduction Statistics Contact Development Disclaimer Help
regression: do not show unset or empty tags - stagit - static git page generator
git clone git://git.codemadness.org/stagit
Log
Files
Refs
README
LICENSE
---
commit f05e6b0fcb3b874180970d06ebcde05fb5aea470
parent d80a163acd47df2bd9ab145be6b249814aa9eceb
Author: Hiltjo Posthuma <[email protected]>
Date: Mon, 20 Jul 2020 14:15:12 +0200
regression: do not show unset or empty tags
Diffstat:
M stagit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/stagit.c b/stagit.c
@@ -797,7 +797,7 @@ printcommitatom(FILE *fp, struct commitinfo *ci, const char…
}
if (ci->summary) {
fputs("<title type=\"text\">", fp);
- if (tag) {
+ if (tag && tag[0]) {
fputs("[", fp);
xmlencode(fp, tag, strlen(tag));
fputs("] ", fp);
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.