diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-02-27 22:28:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-02-27 22:28:13 +0000 |
commit | 65d9edcb60637a2dacc525de8389743979e31e41 (patch) | |
tree | f2802c9f77663bd47ab5e47762dd6d0e9580f6e2 /mdoc_html.c | |
parent | 38c044546783fd645a03d19bfa871035df45507c (diff) | |
download | mandoc-65d9edcb60637a2dacc525de8389743979e31e41.tar.gz |
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index bc50720f..5f3973ef 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -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; } |