summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/html.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-02-05 18:13:29 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-02-05 18:13:29 +0000
commit1647f8df95493c0855390d74810d4925f7b3aec4 (patch)
tree4a5be58707bd422d7963cb0f369c0d026e8b01b5 /usr.bin/mandoc/html.h
parentc209894806b3b7e37931ecc68cb218a1893f8141 (diff)
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,