From 49362f54049a357e52cd6c57d2aa20d33add3307 Mon Sep 17 00:00:00 2001 From: default Date: Sun, 21 May 2023 20:32:23 +0200 Subject: Convert image links in notes to attachments. --- html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index e2760ca..6b9de20 100644 --- a/html.c +++ b/html.c @@ -322,7 +322,7 @@ 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")); + xs *bio = not_really_markdown(xs_dict_get(snac->config, "bio"), NULL); xs *s1 = xs_fmt("
%s
\n", bio); s = xs_str_cat(s, s1); @@ -1467,7 +1467,7 @@ int html_get_handler(const xs_dict *req, const char *q_path, if (strcmp(p_path, ".rss") == 0) { /** public timeline in RSS format **/ d_char *rss; xs *elems = timeline_simple_list(&snac, "public", 0, 20); - xs *bio = not_really_markdown(xs_dict_get(snac.config, "bio")); + xs *bio = not_really_markdown(xs_dict_get(snac.config, "bio"), NULL); char *p, *v; /* escape tags */ -- cgit v1.2.3