diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-09-01 15:12:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-09-01 15:12:19 +0000 |
commit | c306146247f4b042c4cd1219c55d103cfbf26f20 (patch) | |
tree | 712d3f33d1d3e0dcf31eb2c949d52c23ef7ff6b9 | |
parent | 7caf273e6ec2beda8f69dae9eee6c5589a0949c2 (diff) | |
download | mandoc-c306146247f4b042c4cd1219c55d103cfbf26f20.tar.gz |
delete the TAG_IDIV crutch, which is no longer used
-rw-r--r-- | html.c | 1 | ||||
-rw-r--r-- | html.h | 1 | ||||
-rw-r--r-- | mdoc_html.c | 2 |
3 files changed, 1 insertions, 3 deletions
@@ -65,7 +65,6 @@ static const struct htmldata htmltags[TAG_MAX] = { {"title", HTML_NLAROUND}, {"body", HTML_NLALL}, {"div", HTML_NLAROUND}, - {"div", 0}, {"section", HTML_NLALL}, {"table", HTML_NLALL | HTML_INDENT}, {"tr", HTML_NLALL | HTML_INDENT}, @@ -25,7 +25,6 @@ enum htmltag { TAG_TITLE, TAG_BODY, TAG_DIV, - TAG_IDIV, TAG_SECTION, TAG_TABLE, TAG_TR, diff --git a/mdoc_html.c b/mdoc_html.c index 343c673e..b91e339c 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1700,7 +1700,7 @@ mdoc_quote_pre(MDOC_ARGS) /* * Give up on semantic markup for now. * We cannot use TAG_SPAN because .Oo may contain blocks. - * We cannot use TAG_IDIV because we might be in a + * We cannot use TAG_DIV because we might be in a * phrasing context (like .Dl or .Pp); we cannot * close out a .Pp at this point either because * that would break the line. |