Просмотр исходного кода

Fixed HTML re-encoding in the user bio.

default 3 лет назад
Родитель
Сommit
a0e813db0a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      html.c

+ 2 - 2
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);