commit a0e813d
default
·
2023-07-11 18:34:02 +0000 UTC
parent 158b360
Fixed HTML re-encoding in the user bio.
1 files changed,
+2,
-2
M
html.c
M
html.c
+2,
-2
1@@ -368,10 +368,10 @@ d_char *html_user_header(snac *snac, d_char *s, int local)
2 s = xs_str_cat(s, s1);
3
4 if (local) {
5- xs *es1 = encode_html(xs_dict_get(snac->config, "bio"));
6+ xs *es1 = encode_html(xs_dict_get(snac->config, "bio"));
7 xs *bio1 = not_really_markdown(es1, NULL);
8 xs *tags = xs_list_new();
9- xs *bio2 = encode_html(process_tags(snac, bio1, &tags));
10+ xs *bio2 = process_tags(snac, bio1, &tags);
11 xs *s1 = xs_fmt("<div class=\"p-note snac-top-user-bio\">%s</div>\n", bio2);
12
13 s = xs_str_cat(s, s1);