diff options
author | default <nobody@localhost> | 2024-03-25 16:15:09 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2024-03-25 16:15:09 +0100 |
commit | adf0a13992edb85738ac983a872937a805629474 (patch) | |
tree | 31e084c9ff92a82e2083e8225e703bceeec56981 /html.c | |
parent | bc752b7d67d834455eae9eacec16e28585c79c5f (diff) |
If an emoji in emojis.json is an URL to an image, it's stored in the tag list.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -775,7 +775,7 @@ static xs_html *html_user_body(snac *user, int read_only) if (read_only) { xs *es1 = encode_html(xs_dict_get(user->config, "bio")); - xs *bio1 = not_really_markdown(es1, NULL); + xs *bio1 = not_really_markdown(es1, NULL, NULL); xs *tags = xs_list_new(); xs *bio2 = process_tags(user, bio1, &tags); @@ -2657,7 +2657,7 @@ int html_get_handler(const xs_dict *req, const char *q_path, return 403; xs *elems = timeline_simple_list(&snac, "public", 0, 20); - xs *bio = not_really_markdown(xs_dict_get(snac.config, "bio"), NULL); + xs *bio = not_really_markdown(xs_dict_get(snac.config, "bio"), NULL, NULL); xs *rss_title = xs_fmt("%s (@%s@%s)", xs_dict_get(snac.config, "name"), |