diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-16 03:00:23 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-16 03:00:23 +0000 |
commit | b36c2e4756f2b576b474a61019f15645f0cf8388 (patch) | |
tree | 17b05ac82abed673c1f86d4f9115be0ca4d06a85 /mdoc_html.c | |
parent | c5b0120ca117dc54fa423077e5640fc89c76e334 (diff) | |
download | mandoc-b36c2e4756f2b576b474a61019f15645f0cf8388.tar.gz |
Remove the ENDBODY_NOSPACE flag, simplifying the code.
Comparing to groff output, it appears that all cases where it was used
and made a difference actually require the opposite, ENDBODY_SPACE.
I have no idea why i added it back in 2010; maybe to compensate for
some other bug that has long been fixed.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index a3c3cced..7c67d072 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -417,8 +417,6 @@ print_mdoc_node(MDOC_ARGS) (*mdocs[n->tok].post)(meta, n, h); if (n->end != ENDBODY_NOT) n->body->flags |= NODE_ENDED; - if (n->end == ENDBODY_NOSPACE) - h->flags |= HTML_NOSPACE; break; } } |