diff options
| author | grunfink <grunfink@comam.es> | 2026-04-23 09:14:23 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2026-04-23 09:14:23 +0200 |
| commit | 4db4958ba965605e088eb177fcc0c8b7d9cafadf (patch) | |
| tree | 69dbbb1a4e0e69292b66d4b10d820eb15dad7475 | |
| parent | 9bf65054498df1216b0e1db42b154ac282470026 (diff) | |
Don't recalculate md5 in » links.
| -rw-r--r-- | html.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -321,13 +321,11 @@ xs_html *html_actor_icon(snac *user, xs_dict *actor, const char *date, name_link); 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_attr("title", xs_is_string(md5) ? md5 : ""), xs_html_text("»"))); } |