From cbdb02c169520201c5b9e366dd5e61cc778b9ad7 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 1 Sep 2019 15:12:19 +0000 Subject: delete the TAG_IDIV crutch, which is no longer used --- html.c | 3 +-- html.h | 3 +-- mdoc_html.c | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/html.c b/html.c index 4b9c0876..7f8ca02d 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.257 2019/08/29 17:57:29 schwarze Exp $ */ +/* $Id: html.c,v 1.258 2019/09/01 15:12:19 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2011-2015, 2017-2019 Ingo Schwarze @@ -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 3f9b0231..dc4a19cf 100644 --- a/html.h +++ b/html.h @@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.104 2019/08/29 17:57:29 schwarze Exp $ */ +/* $Id: html.h,v 1.105 2019/09/01 15:12:19 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2017, 2018, 2019 Ingo Schwarze @@ -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 87bf42a7..977d4271 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.328 2019/03/01 10:57:18 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.329 2019/09/01 15:12:19 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014-2019 Ingo Schwarze @@ -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. -- cgit v1.2.3