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 | 0fde2fa390d9a4194f8a09e5c0f5d921d8755109 (patch) | |
tree | 08324b073d43d72772f99a603423e81140da0263 /man_html.c | |
parent | aa23a004eb502cf67af388be4976d369784961db (diff) | |
download | mandoc-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; } |