diff options
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) | |||
| 322 | s = xs_str_cat(s, s1); | 322 | s = xs_str_cat(s, s1); |
| 323 | 323 | ||
| 324 | if (local) { | 324 | if (local) { |
| 325 | xs *bio = not_really_markdown(xs_dict_get(snac->config, "bio")); | 325 | xs *bio = not_really_markdown(xs_dict_get(snac->config, "bio"), NULL); |
| 326 | xs *s1 = xs_fmt("<div class=\"p-note snac-top-user-bio\">%s</div>\n", bio); | 326 | xs *s1 = xs_fmt("<div class=\"p-note snac-top-user-bio\">%s</div>\n", bio); |
| 327 | 327 | ||
| 328 | s = xs_str_cat(s, s1); | 328 | s = xs_str_cat(s, s1); |
| @@ -1467,7 +1467,7 @@ int html_get_handler(const xs_dict *req, const char *q_path, | |||
| 1467 | if (strcmp(p_path, ".rss") == 0) { /** public timeline in RSS format **/ | 1467 | if (strcmp(p_path, ".rss") == 0) { /** public timeline in RSS format **/ |
| 1468 | d_char *rss; | 1468 | d_char *rss; |
| 1469 | xs *elems = timeline_simple_list(&snac, "public", 0, 20); | 1469 | xs *elems = timeline_simple_list(&snac, "public", 0, 20); |
| 1470 | xs *bio = not_really_markdown(xs_dict_get(snac.config, "bio")); | 1470 | xs *bio = not_really_markdown(xs_dict_get(snac.config, "bio"), NULL); |
| 1471 | char *p, *v; | 1471 | char *p, *v; |
| 1472 | 1472 | ||
| 1473 | /* escape tags */ | 1473 | /* escape tags */ |