commit fd5acef9f9ddf162093b31fa5b2d36c020c580c3
parent f1e24dd2761bd786a8bfae19812435b50c289cea
Author: Armaan Bhojwani <me@armaanb.net>
Date: Tue, 6 Apr 2021 13:25:17 -0400
Make alt text cleaner
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/stagit.c b/src/stagit.c
@@ -367,7 +367,7 @@ writeheader(FILE *fp, const char *title)
fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath);
fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%ssyntax.css\" />\n", relpath);
fputs("</head>\n<body>\n<table><tr><td>", fp);
- fprintf(fp, "<a href=\"../%s\"><img alt=\"Go home\" src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>",
+ fprintf(fp, "<a href=\"../%s\"><img alt=\"Home\" src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>",
relpath, relpath);
fputs("</td><td><h1>", fp);
xmlencode(fp, strippedname, strlen(strippedname));