summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-09-01 15:12:04 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-09-01 15:12:04 +0000
commit7ce6c3802292b6f93dcc4653a9463dd9c5bcbbcf (patch)
treebe6d3117630f0fa71c514087328f3a7d34a82411 /usr.bin
parenta8d69fdf9e9039af978351fba107c6bfa33b5415 (diff)
delete the TAG_IDIV crutch, which is no longer used
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/html.c3
-rw-r--r--usr.bin/mandoc/html.h3
-rw-r--r--usr.bin/mandoc/mdoc_html.c4
3 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/mandoc/html.c b/usr.bin/mandoc/html.c
index fb22e566680..88e0a3e4338 100644
--- a/usr.bin/mandoc/html.c
+++ b/usr.bin/mandoc/html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: html.c,v 1.127 2019/08/29 17:57:25 schwarze Exp $ */
+/* $OpenBSD: html.c,v 1.128 2019/09/01 15:12:03 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011-2015, 2017-2019 Ingo Schwarze <schwarze@openbsd.org>
@@ -63,7 +63,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/usr.bin/mandoc/html.h b/usr.bin/mandoc/html.h
index e4a7b139bff..b928bb3a695 100644
--- a/usr.bin/mandoc/html.h
+++ b/usr.bin/mandoc/html.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: html.h,v 1.66 2019/08/29 17:57:25 schwarze Exp $ */
+/* $OpenBSD: html.h,v 1.67 2019/09/01 15:12:03 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2017, 2018, 2019 Ingo Schwarze <schwarze@openbsd.org>
@@ -25,7 +25,6 @@ enum htmltag {
TAG_TITLE,
TAG_BODY,
TAG_DIV,
- TAG_IDIV,
TAG_SECTION,
TAG_TABLE,
TAG_TR,
diff --git a/usr.bin/mandoc/mdoc_html.c b/usr.bin/mandoc/mdoc_html.c
index ec3865bf3f8..f44f6fa79d0 100644
--- a/usr.bin/mandoc/mdoc_html.c
+++ b/usr.bin/mandoc/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mdoc_html.c,v 1.203 2019/03/01 10:48:58 schwarze Exp $ */
+/* $OpenBSD: mdoc_html.c,v 1.204 2019/09/01 15:12:03 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014-2019 Ingo Schwarze <schwarze@openbsd.org>
@@ -1698,7 +1698,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.