mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
Fixed HTML re-encoding in the user bio.
This commit is contained in:
parent
158b360181
commit
a0e813db0a
1 changed files with 2 additions and 2 deletions
4
html.c
4
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);
|
||||
|
|
Loading…
Reference in a new issue