0010-stagit.c-Define-img-alt.patch (928B)
- From b9eccfb4bb6cf33bbbe231c2d277af2a104d5d2b Mon Sep 17 00:00:00 2001
- From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
- Date: Tue, 4 Apr 2017 18:57:41 +0200
- Subject: [PATCH 10/22] stagit.c: Define <img alt="">
- ---
- stagit.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- diff --git a/stagit.c b/stagit.c
- index 33edd82..ee7ffe9 100644
- --- a/stagit.c
- +++ b/stagit.c
- @@ -357,7 +357,7 @@ writeheader(FILE *fp, const char *title)
- name, relpath);
- fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", assetpath);
- fputs("</head>\n<body>\n<table><tr><td>", fp);
- - fprintf(fp, "<a href=\"..\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>",
- + fprintf(fp, "<a href=\"..\"><img src=\"%slogo.png\" alt=\"logo\" width=\"32\" height=\"32\" /></a>",
- assetpath);
- fputs("</td><td><h1>", fp);
- xmlencode(fp, strippedname, strlen(strippedname));
- --
- 2.26.2