|
|
|
@ -140,9 +140,9 @@ static int write_zet_link(int fd, const char *id, const char *title) {
|
|
|
|
|
if (title == NULL) {
|
|
|
|
|
return dprintf(fd, " <a href=\"%s\"><strong><code>§%s</code></strong></a>", id, id);
|
|
|
|
|
}
|
|
|
|
|
int rc = dprintf(fd, " <a href=\"%s\"><strong>[", id);
|
|
|
|
|
int rc = dprintf(fd, " <a href=\"%s\">[<strong>", id);
|
|
|
|
|
rc |= write_html(fd, title, strlen(title));
|
|
|
|
|
rc |= dprintf(fd, "](<code>§%s</code>)</strong></a>", id);
|
|
|
|
|
rc |= dprintf(fd, "</strong>](<code>§%s</code>)</a>", id);
|
|
|
|
|
return rc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|