diff options
| author | 2024-12-26 03:55:27 +0100 | |
|---|---|---|
| committer | 2024-12-26 03:55:27 +0100 | |
| commit | 2384a5409bc3a8a6ede4bf33bb1584a6bfae39af (patch) | |
| tree | c6ba32c4ae336091dbb6ad645e8173241622b67e /html.c | |
| parent | Accept 'Audio' as a valid entry type. (diff) | |
| download | snac2-2384a5409bc3a8a6ede4bf33bb1584a6bfae39af.tar.gz snac2-2384a5409bc3a8a6ede4bf33bb1584a6bfae39af.tar.xz snac2-2384a5409bc3a8a6ede4bf33bb1584a6bfae39af.zip | |
Make xmpp and mailto URLs clickable.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -934,7 +934,7 @@ static xs_html *html_user_body(snac *user, int read_only) | |||
| 934 | } | 934 | } |
| 935 | } | 935 | } |
| 936 | else | 936 | else |
| 937 | if (xs_startswith(v, "gemini:/")) { | 937 | if (xs_startswith(v, "gemini:/") || xs_startswith(v, "xmpp:")) { |
| 938 | value = xs_html_tag("a", | 938 | value = xs_html_tag("a", |
| 939 | xs_html_attr("rel", "me"), | 939 | xs_html_attr("rel", "me"), |
| 940 | xs_html_attr("href", v), | 940 | xs_html_attr("href", v), |