summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-12-03 17:26:50 +0100
committerdefault <nobody@localhost>2023-12-03 17:26:50 +0100
commit5f047d46c0ad2dd2f1cf83f359ac1ad779cb67f8 (patch)
tree2c072f1e54ebfcb08d05a3f5cc87a933f0ff06b0 /html.c
parenta658e5d1c70cb1270216a517e76a87acd3b04653 (diff)
Backport from xs.
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"),