diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-04-11 17:11:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-04-11 17:11:13 +0000 |
commit | 0609782211f70e20c352ca9e580e328fc5817302 (patch) | |
tree | 9361b81eef562a0a60f08897828d866c60a1b5e4 /mdoc_html.c | |
parent | 37f94bbdf74663ed1f212a4a0aa87e4faf4ca885 (diff) | |
download | mandoc-0609782211f70e20c352ca9e580e328fc5817302.tar.gz |
preserve comments before .Dd when converting mdoc(7) to man(7)
with mandoc -Tman; suggested by Thomas Klausner <wiz at NetBSD>
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 7a972038..730e86be 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -344,7 +344,7 @@ print_mdoc_node(MDOC_ARGS) int child; struct tag *t; - if (n->flags & NODE_NOPRT) + if (n->type == ROFFT_COMMENT || n->flags & NODE_NOPRT) return; child = 1; |