commit dd51da3

default  ·  2023-12-19 10:42:06 +0000 UTC
parent 90bab08
Correctly insert polls and attachments inside CW.
1 files changed,  +2, -2
M html.c
M html.c
+2, -2
 1@@ -1581,7 +1581,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int local,
 2             }
 3         }
 4 
 5-        xs_html_add(snac_content_wrap,
 6+        xs_html_add(snac_content,
 7             poll);
 8     }
 9 
10@@ -1612,7 +1612,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int local,
11         xs_html *content_attachments = xs_html_tag("div",
12             xs_html_attr("class", "snac-content-attachments"));
13 
14-        xs_html_add(snac_content_wrap,
15+        xs_html_add(snac_content,
16             content_attachments);
17 
18         xs_list *p = attach;