]> git.armaanb.net Git - stagit.git/commitdiff
Make alt text cleaner
authorArmaan Bhojwani <me@armaanb.net>
Tue, 6 Apr 2021 17:25:17 +0000 (13:25 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Tue, 6 Apr 2021 17:25:17 +0000 (13:25 -0400)
src/stagit.c

index be6d8593c9913d3ac5f02ba7fc2381d46dcaa9ae..c39e9ba54b0b6881a275fd5e9cd44308d4e76038 100644 (file)
@@ -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));