summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-07-11 20:34:02 +0200
committerdefault <nobody@localhost>2023-07-11 20:34:02 +0200
commita0e813db0ae3cbf8dae07ec5bec2e882c3b560c5 (patch)
treef4380c53511b4ea2476e2b15477f7686476b4714
parent158b360181e2006ba073fa9332ca8b27690f12dd (diff)
Fixed HTML re-encoding in the user bio.
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index df90df8..ef5e60b 100644
--- a/html.c
+++ b/html.c
@@ -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);