commit c016b68
default
·
2024-06-22 21:58:20 +0000 UTC
parent ddff08a
Metadata having gemini urls are now clickable.
1 files changed,
+7,
-0
M
html.c
M
html.c
+7,
-0
1@@ -867,6 +867,13 @@ static xs_html *html_user_body(snac *user, int read_only)
2 xs_html_text(v));
3 }
4 }
5+ else
6+ if (xs_startswith(v, "gemini:/")) {
7+ value = xs_html_tag("a",
8+ xs_html_attr("rel", "me"),
9+ xs_html_attr("href", v),
10+ xs_html_text(v));
11+ }
12 else
13 value = xs_html_text(v);
14