summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-09-01 15:12:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-09-01 15:12:19 +0000
commitc306146247f4b042c4cd1219c55d103cfbf26f20 (patch)
tree712d3f33d1d3e0dcf31eb2c949d52c23ef7ff6b9
parent7caf273e6ec2beda8f69dae9eee6c5589a0949c2 (diff)
downloadmandoc-c306146247f4b042c4cd1219c55d103cfbf26f20.tar.gz
delete the TAG_IDIV crutch, which is no longer used
-rw-r--r--html.c1
-rw-r--r--html.h1
-rw-r--r--mdoc_html.c2
3 files changed, 1 insertions, 3 deletions
diff --git a/html.c b/html.c
index 2328ab43..d7204e82 100644
--- a/html.c
+++ b/html.c
@@ -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},
diff --git a/html.h b/html.h
index 041f9b31..974a95a7 100644
--- a/html.h
+++ b/html.h
@@ -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.