readme tweaks, mainly

This commit is contained in:
pommicket 2021-11-10 12:55:41 -05:00
parent 3255cd32d7
commit 2288e47516
13 changed files with 177 additions and 84 deletions

View file

@ -58,7 +58,8 @@ static void output_md_text(FILE *out, int *flags, int line_number, const char *t
case '[': {
/* link */
char url2[256] = {0};
const char *label, *url, *label_end, *url_end, *dot;
const char *label, *url, *label_end, *url_end;
char *dot;
int n_label, n_url;
label = p+1;
@ -88,7 +89,7 @@ static void output_md_text(FILE *out, int *flags, int line_number, const char *t
/* replace links to md files with links to html files */
strcpy(dot, ".html");
}
fprintf(out, "<a href=\"%s\" target=\"_blank\">%.*s</a>",
fprintf(out, "<a href=\"%s\">%.*s</a>",
url2, n_label, label);
p = url_end;
} break;