diff options
author | default <nobody@localhost> | 2023-12-06 07:41:02 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-12-06 07:41:02 +0100 |
commit | 7a18a60c3c3c28d65b72a108791aa143ff519bd0 (patch) | |
tree | f4be5fec37ed318ec17fe8729374219c6f497efb /html.c | |
parent | cd26ab3df0419c0f922f6075a70e2e4c8767df1e (diff) |
Show the md5 of the original post in its link in html_actor_icon().
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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("ยป"))); } |