Close a tag in history list

This commit is contained in:
Alex Schroeder 2022-12-01 14:31:16 +01:00
parent 2a5f10583b
commit 675b0242d6

2
html.c
View file

@ -812,7 +812,7 @@ d_char *html_timeline(snac *snac, char *list, int local)
while (xs_list_iter(&p, &v)) {
xs *fn = xs_replace(v, ".html", "");
xs *s1 = xs_fmt(
"<li><a href=\"%s/h/%s\">%s</li>\n",
"<li><a href=\"%s/h/%s\">%s</a></li>\n",
snac->actor, v, fn);
s = xs_str_cat(s, s1);