summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man_html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-02-05 18:13:28 +0000
committerschwarze <schwarze@openbsd.org>2017-02-05 18:13:28 +0000
commit408a904e46111407bd4200bd57a82d68d30e7daa (patch)
tree1ad2a2a7bd1ada2d9dca3157c515024a304bdaa3 /usr.bin/mandoc/man_html.c
parentAlways allocate counters memory using type M_COUNTERS. (diff)
downloadwireguard-openbsd-408a904e46111407bd4200bd57a82d68d30e7daa.tar.xz
wireguard-openbsd-408a904e46111407bd4200bd57a82d68d30e7daa.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 'usr.bin/mandoc/man_html.c')
-rw-r--r--usr.bin/mandoc/man_html.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man_html.c b/usr.bin/mandoc/man_html.c
index 057f01bf226..b41e3c056a0 100644
--- a/usr.bin/mandoc/man_html.c
+++ b/usr.bin/mandoc/man_html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: man_html.c,v 1.85 2017/01/30 20:23:07 schwarze Exp $ */
+/* $OpenBSD: man_html.c,v 1.86 2017/02/05 18:13:28 schwarze Exp $ */
/*
* Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -372,7 +372,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");