commit 437f013

grunfink  ·  2026-10-03 06:24:53 +0000 UTC
parent beffd47
Added a 'top' anchor to keep elinks from complaining.
1 files changed,  +3, -1
M html.c
M html.c
+3, -1
 1@@ -1151,7 +1151,9 @@ static xs_html *html_user_body(snac *user, int read_only)
 2     if (user && !read_only && xs_is_true(xs_dict_get(srv_config, "proxy_media")))
 3         proxy = user->actor;
 4 
 5-    xs_html *body = xs_html_tag("body", NULL);
 6+    xs_html *body = xs_html_tag("body",
 7+        xs_html_tag("a",
 8+            xs_html_attr("name", "top")));
 9 
10     /* top nav */
11     xs_html *top_nav = xs_html_tag("nav",