diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-04-13 16:27:15 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-04-13 16:27:15 +0000 |
commit | fccebb05c34a76a5a7a79b282a4fba0d61dcc5af (patch) | |
tree | 2db44514a31cd76222c62a39f2d53acb485f0891 /usr.bin/mandoc/html.h | |
parent | 6bc2fa0a4326f457a7716f57a66f082d22bb418c (diff) |
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 'usr.bin/mandoc/html.h')
-rw-r--r-- | usr.bin/mandoc/html.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/mandoc/html.h b/usr.bin/mandoc/html.h index 234ab44c60a..b3a8b796461 100644 --- a/usr.bin/mandoc/html.h +++ b/usr.bin/mandoc/html.h @@ -1,7 +1,7 @@ -/* $OpenBSD: html.h,v 1.49 2017/07/08 14:51:01 schwarze Exp $ */ +/* $OpenBSD: html.h,v 1.50 2018/04/13 16:27:14 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 *, ...); |