diff options
author | 2018-04-11 17:10:35 +0000 | |
---|---|---|
committer | 2018-04-11 17:10:35 +0000 | |
commit | 4c2938735c8645bf013bba2aadf2b593401b76b2 (patch) | |
tree | bd18d208ac85fca83b2a9412e92e7dc15fbcc551 /usr.bin/mandoc/man_html.c | |
parent | The pledge flag for file descriptors opened from /dev/fd was always (diff) | |
download | wireguard-openbsd-4c2938735c8645bf013bba2aadf2b593401b76b2.tar.xz wireguard-openbsd-4c2938735c8645bf013bba2aadf2b593401b76b2.zip |
preserve comments before .Dd when converting mdoc(7) to man(7)
with mandoc -Tman; suggested by Thomas Klausner <wiz at NetBSD>
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
-rw-r--r-- | usr.bin/mandoc/man_html.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man_html.c b/usr.bin/mandoc/man_html.c index 86f30b9901c..0897b0889c2 100644 --- a/usr.bin/mandoc/man_html.c +++ b/usr.bin/mandoc/man_html.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man_html.c,v 1.98 2017/06/25 07:23:53 bentley Exp $ */ +/* $OpenBSD: man_html.c,v 1.99 2018/04/11 17:10:35 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -260,6 +260,8 @@ print_man_node(MAN_ARGS) break; print_paragraph(h); return; + case ROFFT_COMMENT: + return; default: break; } |