From 2384a5409bc3a8a6ede4bf33bb1584a6bfae39af Mon Sep 17 00:00:00 2001 From: default Date: Thu, 26 Dec 2024 03:55:27 +0100 Subject: Make xmpp and mailto URLs clickable. --- html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html.c') diff --git a/html.c b/html.c index 2c0a823..409023d 100644 --- a/html.c +++ b/html.c @@ -934,7 +934,7 @@ static xs_html *html_user_body(snac *user, int read_only) } } else - if (xs_startswith(v, "gemini:/")) { + if (xs_startswith(v, "gemini:/") || xs_startswith(v, "xmpp:")) { value = xs_html_tag("a", xs_html_attr("rel", "me"), xs_html_attr("href", v), -- cgit v1.2.3