about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--html.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/html.c b/html.c
index 37e52b3..9386205 100644
--- a/html.c
+++ b/html.c
@@ -115,8 +115,7 @@ htmlNav(struct khtmlreq *html, const char *network, const char *context) {
 			KATTR_TYPE, "submit",
 			KATTR_VALUE, label,
 			KATTR__MAX
-		)
-		|| khtml_closeelem(html, 1);
+		);
 	if (error) return error;
 
 	if (network) {