summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/html.h
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/html.h
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/html.h')
-rw-r--r--usr.bin/mandoc/html.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/html.h b/usr.bin/mandoc/html.h
index 22d0ced1357..cc0523a0984 100644
--- a/usr.bin/mandoc/html.h
+++ b/usr.bin/mandoc/html.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: html.h,v 1.42 2017/01/29 14:02:19 schwarze Exp $ */
+/* $OpenBSD: html.h,v 1.43 2017/02/05 18:13:28 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -30,7 +30,7 @@ enum htmltag {
TAG_BR,
TAG_A,
TAG_TABLE,
- TAG_TBODY,
+ TAG_COLGROUP,
TAG_COL,
TAG_TR,
TAG_TD,