aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-05 18:15:39 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-05 18:15:39 +0000
commitc6e62f9888a3bce6f8b3f7a4ee028dbdfc01ab1f (patch)
tree5b001c4f9597be2aa5b561fe3d2bd93dae2735ec /man_html.c
parent917cc472b6d91e5bac0a2f3cdf26e113a64ecd45 (diff)
downloadmandoc-c6e62f9888a3bce6f8b3f7a4ee028dbdfc01ab1f.tar.gz
mandoc-c6e62f9888a3bce6f8b3f7a4ee028dbdfc01ab1f.tar.zst
mandoc-c6e62f9888a3bce6f8b3f7a4ee028dbdfc01ab1f.zip
Improve <table> syntax:
The <col> element can only appear inside <colgroup>, so use <colgroup>. The <tbody> element is optional and useless, so don't use it. Even if we would ever need <thead> or <tfoot>, <tbody> would still be optional and useless; besides, we will likely never need <thead> or <tfoot>, simply because our languages don't support such functionality.
Diffstat (limited to 'man_html.c')
-rw-r--r--man_html.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/man_html.c b/man_html.c
index 777ffa63..9151e4c7 100644
--- a/man_html.c
+++ b/man_html.c
@@ -1,4 +1,4 @@
-/* $Id: man_html.c,v 1.132 2017/01/30 20:24:02 schwarze Exp $ */
+/* $Id: man_html.c,v 1.133 2017/02/05 18:15:39 schwarze Exp $ */
/*
* Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -374,7 +374,6 @@ man_root_pre(MAN_ARGS)
mandoc_asprintf(&title, "%s(%s)", man->title, man->msec);
t = print_otag(h, TAG_TABLE, "c", "head");
- print_otag(h, TAG_TBODY, "");
tt = print_otag(h, TAG_TR, "");
print_otag(h, TAG_TD, "c", "head-ltitle");