stagit

Custom stagit fork for git.deurzen.net
git clone git://git.deurzen.net/stagit
Log | Files | Refs | README | LICENSE

commit 497de4c3d1f8a223976a19d00a91334f568efe36
parent 54773b9f900461476809526459fc63201ce40c01
Author: deurzen <max@deurzen.net>
Date:   Wed, 25 May 2022 04:43:31 +0200

adds span around url for proper css targeting

Diffstat:
Mstagit.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/stagit.c b/stagit.c @@ -528,11 +528,11 @@ writeheader(FILE *fp, const char *title) xmlencode(fp, description, strlen(description)); fputs("</span></td></tr>", fp); if (cloneurl[0]) { - fputs("<tr class=\"url\"><td></td><td>git clone <a href=\"", fp); + fputs("<tr class=\"url\"><td></td><td><span>git clone <a href=\"", fp); xmlencode(fp, cloneurl, strlen(cloneurl)); /* not percent-encoded */ fputs("\">", fp); xmlencode(fp, cloneurl, strlen(cloneurl)); - fputs("</a></td></tr>", fp); + fputs("</a></span></td></tr>", fp); } fputs("<tr><td></td><td>\n", fp); fprintf(fp, "<a href=\"%slog.html\">Log</a> | ", relpath);