diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-04-13 16:28:07 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-04-13 16:28:07 +0000 |
commit | 0c8f9a78c144e759fc8ce4b1b92b1787474385bd (patch) | |
tree | 5bd9b378850a798e0f4ab3c4b335909e576d80b0 /html.h | |
parent | 0fde2fa390d9a4194f8a09e5c0f5d921d8755109 (diff) | |
download | mandoc-0c8f9a78c144e759fc8ce4b1b92b1787474385bd.tar.gz mandoc-0c8f9a78c144e759fc8ce4b1b92b1787474385bd.tar.zst mandoc-0c8f9a78c144e759fc8ce4b1b92b1787474385bd.zip |
preserve comments before .Dd and .TH (typically Copyright and license)
in full HTML output, but not with -Ofragment, e.g. in man.cgi(8);
suggested by Thomas Klausner <wiz at NetBSD>
Diffstat (limited to 'html.h')
-rw-r--r-- | html.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ -/* $Id: html.h,v 1.87 2017/07/08 14:51:04 schwarze Exp $ */ +/* $Id: html.h,v 1.88 2018/04/13 16:28:07 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> - * Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> + * Copyright (c) 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -119,6 +119,7 @@ struct eqn_box; void roff_html_pre(struct html *, const struct roff_node *); +void print_gen_comment(struct html *, struct roff_node *); void print_gen_decls(struct html *); void print_gen_head(struct html *); struct tag *print_otag(struct html *, enum htmltag, const char *, ...); |