From 0fde2fa390d9a4194f8a09e5c0f5d921d8755109 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 11 Apr 2018 17:11:13 +0000 Subject: preserve comments before .Dd when converting mdoc(7) to man(7) with mandoc -Tman; suggested by Thomas Klausner --- man_html.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man_html.c') 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 * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze @@ -262,6 +262,8 @@ print_man_node(MAN_ARGS) break; print_paragraph(h); return; + case ROFFT_COMMENT: + return; default: break; } -- cgit v1.2.3