diff options
author | default <nobody@localhost> | 2024-06-22 23:58:20 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-06-22 23:58:20 +0200 |
commit | c016b686293e1b8d8a01dd7608c7ddec249a97b5 (patch) | |
tree | cbaa0d95b096f4ea89128dfa78d11ab49f06b0e0 | |
parent | ddff08a8231185ad679e56374eedf804d2488205 (diff) |
Metadata having gemini urls are now clickable.
-rw-r--r-- | html.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -868,6 +868,13 @@ static xs_html *html_user_body(snac *user, int read_only) } } 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 value = xs_html_text(v); xs_html_add(snac_metadata, |