diff --git a/html.c b/html.c index 06c28bb..a341a37 100644 --- a/html.c +++ b/html.c @@ -1025,8 +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" "\n", snac->actor, actor, id); @@ -1045,7 +1045,7 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local, } xs *s2 = xs_fmt("

\n

\n\n", L("Vote")); + "class=\"button\" value=\"%s\">\n\n
\n\n", L("Vote")); s1 = xs_str_cat(s1, s2);