mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
Show the md5 of the original post in its link in html_actor_icon().
This commit is contained in:
parent
cd26ab3df0
commit
7a18a60c3c
1 changed files with 3 additions and 0 deletions
3
html.c
3
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("»")));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue