aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-06-25 13:45:57 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-06-25 13:45:57 +0000
commitcd60376212be08cbdf5862b0b39179db69535f4f (patch)
treea79e2c10b3483fa3681d5613e6521fd00c6828a2 /html.c
parentd18002b217fb614ceefd63aeb3873baaf718fcf9 (diff)
downloadmandoc-cd60376212be08cbdf5862b0b39179db69535f4f.tar.gz
mandoc-cd60376212be08cbdf5862b0b39179db69535f4f.tar.zst
mandoc-cd60376212be08cbdf5862b0b39179db69535f4f.zip
Do not write <colgroup> elements. Their only purpose is to enforce
author-specified column widths, which can harm responsive design and provide no real benefit: HTML rendering engines usually do just fine automatically selecting appropriate column widths.
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/html.c b/html.c
index 786e1c3a..d5b9c887 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.234 2018/06/25 13:26:57 schwarze Exp $ */
+/* $Id: html.c,v 1.235 2018/06/25 13:45:57 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -69,8 +69,6 @@ static const struct htmldata htmltags[TAG_MAX] = {
{"br", HTML_NOSTACK | HTML_AUTOCLOSE | HTML_NLALL},
{"a", 0},
{"table", HTML_NLALL | HTML_INDENT},
- {"colgroup", HTML_NLALL | HTML_INDENT},
- {"col", HTML_NOSTACK | HTML_AUTOCLOSE | HTML_NLALL},
{"tr", HTML_NLALL | HTML_INDENT},
{"td", HTML_NLAROUND},
{"li", HTML_NLAROUND | HTML_INDENT},