diff options
author | default <nobody@localhost> | 2023-05-21 20:32:23 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-05-21 20:32:23 +0200 |
commit | 49362f54049a357e52cd6c57d2aa20d33add3307 (patch) | |
tree | 0417bac6b8157ce7be07be86b7eb6915bb24cdf7 /html.c | |
parent | 3cd73311bece7783bbcc3774f5fd54c520eb88ed (diff) |
Convert image links in notes to attachments.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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("<div class=\"p-note snac-top-user-bio\">%s</div>\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 */ |