From 7a18a60c3c3c28d65b72a108791aa143ff519bd0 Mon Sep 17 00:00:00 2001 From: default Date: Wed, 6 Dec 2023 07:41:02 +0100 Subject: Show the md5 of the original post in its link in html_actor_icon(). --- html.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'html.c') diff --git a/html.c b/html.c index 2cf2b26..ea75256 100644 --- a/html.c +++ b/html.c @@ -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("ยป"))); } -- cgit v1.2.3