summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-07-04 17:15:38 +0200
committerdefault <nobody@localhost>2023-07-04 17:15:38 +0200
commit38ee86f81e74edec97bf04d999d21221565f44fb (patch)
tree56860dd880c3d4554b16b9b7bed8262754c4bc4b /html.c
parent7e5b02be3f3c4bf3b215f300dae240c23065919f (diff)
Also call process_tags() when in the public timeline's bio.
Diffstat (limited to 'html.c')
-rw-r--r--html.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/html.c b/html.c
index 4a04d7c..2eb542a 100644
--- a/html.c
+++ b/html.c
@@ -362,8 +362,10 @@ d_char *html_user_header(snac *snac, d_char *s, int local)
s = xs_str_cat(s, s1);
if (local) {
- xs *bio = not_really_markdown(xs_dict_get(snac->config, "bio"), NULL);
- xs *s1 = xs_fmt("<div class=\"p-note snac-top-user-bio\">%s</div>\n", bio);
+ xs *bio1 = not_really_markdown(xs_dict_get(snac->config, "bio"), NULL);
+ xs *tags = xs_list_new();
+ xs *bio2 = process_tags(snac, bio1, &tags);
+ xs *s1 = xs_fmt("<div class=\"p-note snac-top-user-bio\">%s</div>\n", bio2);
s = xs_str_cat(s, s1);
}