0017-stagit.c-fixup-HTML5.patch (1127B)
- From bdafdb3ad828d9f6610ee832e000910629aca7e0 Mon Sep 17 00:00:00 2001
- From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
- Date: Mon, 11 Feb 2019 03:09:41 +0100
- Subject: [PATCH 17/22] stagit.c: fixup HTML5
- ---
- stagit.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
- diff --git a/stagit.c b/stagit.c
- index a20d8f4..d6d8b4b 100644
- --- a/stagit.c
- +++ b/stagit.c
- @@ -378,13 +378,13 @@ writeheader(FILE *fp, const char *title)
- fprintf(fp, " <a rel=\"index\" href=\"%sfiles.html\">Files</a>", relpath);
- fprintf(fp, " <a href=\"%srefs.html\">Refs</a>", relpath);
- if (submodules)
- - fprintf(fp, " | <a href=\"%sfile/%s.html\">Submodules</a>",
- + fprintf(fp, " <a href=\"%sfile/%s.html\">Submodules</a>",
- relpath, submodules);
- if (readme)
- - fprintf(fp, " | <a href=\"%sfile/%s.html\">README</a>",
- + fprintf(fp, " <a href=\"%sfile/%s.html\">README</a>",
- relpath, readme);
- if (license)
- - fprintf(fp, " | <a href=\"%sfile/%s.html\">LICENSE</a>",
- + fprintf(fp, " <a href=\"%sfile/%s.html\">LICENSE</a>",
- relpath, license);
- fputs("</nav>\n<main>\n", fp);
- }
- --
- 2.26.2