summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-03-25 16:15:09 +0100
committerdefault <nobody@localhost>2024-03-25 16:15:09 +0100
commitadf0a13992edb85738ac983a872937a805629474 (patch)
tree31e084c9ff92a82e2083e8225e703bceeec56981 /html.c
parentbc752b7d67d834455eae9eacec16e28585c79c5f (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index c2098ed..60682f9 100644
--- a/html.c
+++ b/html.c
@@ -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"),