Metadata having gemini urls are now clickable.

This commit is contained in:
default 2024-06-22 23:58:20 +02:00
parent ddff08a823
commit c016b68629

7
html.c
View file

@ -867,6 +867,13 @@ static xs_html *html_user_body(snac *user, int read_only)
xs_html_text(v)); xs_html_text(v));
} }
} }
else
if (xs_startswith(v, "gemini:/")) {
value = xs_html_tag("a",
xs_html_attr("rel", "me"),
xs_html_attr("href", v),
xs_html_text(v));
}
else else
value = xs_html_text(v); value = xs_html_text(v);