aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-04-11 17:11:13 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-04-11 17:11:13 +0000
commit0fde2fa390d9a4194f8a09e5c0f5d921d8755109 (patch)
tree08324b073d43d72772f99a603423e81140da0263 /man_html.c
parentaa23a004eb502cf67af388be4976d369784961db (diff)
downloadmandoc-0fde2fa390d9a4194f8a09e5c0f5d921d8755109.tar.gz
mandoc-0fde2fa390d9a4194f8a09e5c0f5d921d8755109.tar.zst
mandoc-0fde2fa390d9a4194f8a09e5c0f5d921d8755109.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 'man_html.c')
-rw-r--r--man_html.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/man_html.c b/man_html.c
index a304b3e4..efcb87ee 100644
--- a/man_html.c
+++ b/man_html.c
@@ -1,4 +1,4 @@
-/* $Id: man_html.c,v 1.145 2017/06/25 11:42:02 schwarze Exp $ */
+/* $Id: man_html.c,v 1.146 2018/04/11 17:11:13 schwarze Exp $ */
/*
* Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -262,6 +262,8 @@ print_man_node(MAN_ARGS)
break;
print_paragraph(h);
return;
+ case ROFFT_COMMENT:
+ return;
default:
break;
}