Close a tag in history list.

This commit is contained in:
default 2022-12-01 19:39:22 +01:00
parent e98dbe4eb5
commit e62b6b87be

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);