summaryrefslogtreecommitdiffstats
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
commit937a6b2e1aa8db0008fce66bcff5f7eab8c29190 (patch)
treefe39ca4266fd945094576f59b21a545b946b93a4 /man_html.c
parent3b0514c192216cd9a089f8c8cc8b846917fa46fe (diff)
downloadmandoc-937a6b2e1aa8db0008fce66bcff5f7eab8c29190.tar.gz
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/man_html.c b/man_html.c
index b4e55f64..7db71e2a 100644
--- a/man_html.c
+++ b/man_html.c
@@ -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");