diff options
author | 2020-02-27 22:28:13 +0000 | |
---|---|---|
committer | 2020-02-27 22:28:13 +0000 | |
commit | 62450180320c529d836c4c25672879a7ce53221a (patch) | |
tree | 3fdbb7f175ee373297a18454364bdca524bfebdf /mdoc_html.c | |
parent | f170f4f7447172beaedf75482b2bfa599cadfb1d (diff) | |
download | mandoc-62450180320c529d836c4c25672879a7ce53221a.tar.gz mandoc-62450180320c529d836c4c25672879a7ce53221a.tar.zst mandoc-62450180320c529d836c4c25672879a7ce53221a.zip |
The HTML standard does not allow self-closing syntax for non-void elements.
Consequently, write an explicit end tag for <mark> elements.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <kristaps@bsd.lv> * Copyright (c) 2014-2020 Ingo Schwarze <schwarze@openbsd.org> @@ -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; } |