commit 620571b
grunfink
·
2025-07-24 07:48:50 +0000 UTC
parent a2518f5
Fixed link in tags, when it's an RSS.
1 files changed,
+7,
-1
M
html.c
M
html.c
+7,
-1
1@@ -3002,7 +3002,13 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
2 const char *ht;
3
4 xs_list_foreach(followed_hashtags, ht) {
5- xs *url = xs_fmt("%s/admin?q=%s", user->actor, ht);
6+ xs *url = NULL;
7+
8+ if (!xs_startswith(ht, "https:/""/"))
9+ url = xs_fmt("%s/admin?q=%s", user->actor, ht);
10+ else
11+ url = xs_dup(ht);
12+
13 url = xs_replace_i(url, "#", "%23");
14
15 xs_html_add(loht,