diff options
author | default <nobody@localhost> | 2023-07-11 20:34:02 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-07-11 20:34:02 +0200 |
commit | a0e813db0ae3cbf8dae07ec5bec2e882c3b560c5 (patch) | |
tree | f4380c53511b4ea2476e2b15477f7686476b4714 | |
parent | 158b360181e2006ba073fa9332ca8b27690f12dd (diff) |
Fixed HTML re-encoding in the user bio.
-rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -368,10 +368,10 @@ d_char *html_user_header(snac *snac, d_char *s, int local) s = xs_str_cat(s, s1); if (local) { - xs *es1 = encode_html(xs_dict_get(snac->config, "bio")); + xs *es1 = encode_html(xs_dict_get(snac->config, "bio")); xs *bio1 = not_really_markdown(es1, NULL); xs *tags = xs_list_new(); - xs *bio2 = encode_html(process_tags(snac, bio1, &tags)); + xs *bio2 = process_tags(snac, bio1, &tags); xs *s1 = xs_fmt("<div class=\"p-note snac-top-user-bio\">%s</div>\n", bio2); s = xs_str_cat(s, s1); |