From 22565f5c40b568aa68f8782614ffcc09130f03dc Mon Sep 17 00:00:00 2001 From: default Date: Wed, 7 Jun 2023 18:37:19 +0200 Subject: [PATCH] New CSS classes snac-poll-form and snac-poll-result. --- html.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/html.c b/html.c index 8bd6530..06c28bb 100644 --- a/html.c +++ b/html.c @@ -1001,7 +1001,7 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local, if (closed) { /* closed poll */ - c = xs_str_cat(c, "\n"); + c = xs_str_cat(c, "
\n"); while (xs_list_iter(&p, &v)) { const char *name = xs_dict_get(v, "name"); @@ -1025,7 +1025,8 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local, } else { /* poll still active */ - xs *s1 = xs_fmt("\n" + xs *s1 = xs_fmt("\n" "\n" "\n", snac->actor, actor, id);