summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 7707413..2cf2b26 100644
--- a/html.c
+++ b/html.c
@@ -1000,7 +1000,7 @@ static xs_html *html_button(char *clss, char *label, char *hint)
xs *c = xs_fmt("snac-btn-%s", clss);
/* use an NULL tag to separate non-css-classed buttons from one another */
- return xs_html_tag(NULL,
+ return xs_html_container(
xs_html_sctag("input",
xs_html_attr("type", "submit"),
xs_html_attr("name", "action"),