Show the md5 of the original post in its link in html_actor_icon().

This commit is contained in:
default 2023-12-06 07:41:02 +01:00
parent cd26ab3df0
commit 7a18a60c3c

3
html.c
View file

@ -133,10 +133,13 @@ xs_html *html_actor_icon(xs_dict *actor, const char *date,
if (!xs_is_null(url)) {
xs *md5 = xs_md5_hex(url, strlen(url));
xs_html_add(actor_icon,
xs_html_text(" "),
xs_html_tag("a",
xs_html_attr("href", (char *)url),
xs_html_attr("title", md5),
xs_html_text("»")));
}