aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-12-26 03:55:27 +0100
committerdefault <nobody@localhost>2024-12-26 03:55:27 +0100
commit2384a5409bc3a8a6ede4bf33bb1584a6bfae39af (patch)
treec6ba32c4ae336091dbb6ad645e8173241622b67e /html.c
parentea0c128cf0067946cab47bdce09df791be8038f5 (diff)
Make xmpp and mailto URLs clickable.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
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),