From 62450180320c529d836c4c25672879a7ce53221a Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 27 Feb 2020 22:28:13 +0000 Subject: The HTML standard does not allow self-closing syntax for non-void elements. Consequently, write an explicit end tag for elements. --- mdoc_html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc_html.c') diff --git a/mdoc_html.c b/mdoc_html.c index e6d57a11..65bd8e03 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.334 2020/02/27 01:43:52 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.335 2020/02/27 22:28:13 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014-2020 Ingo Schwarze @@ -731,7 +731,7 @@ mdoc_tg_pre(MDOC_ARGS) char *id; if ((id = html_make_id(n, 1)) != NULL) - print_otag(h, TAG_MARK, "i", id); + print_tagq(h, print_otag(h, TAG_MARK, "i", id)); return 0; } -- cgit v1.2.3-56-ge451