summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/mdoc_html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-05-05 02:06:17 +0000
committerschwarze <schwarze@openbsd.org>2017-05-05 02:06:17 +0000
commitc4d3fa85a07f248616304fddbff2b40c876fcc18 (patch)
tree315bbdbedaf8bdbb8dbdebb07b481d9caa290788 /usr.bin/mandoc/mdoc_html.c
parentAlso pass the blk offset to disk_unbusy(), so that it can pass it to (diff)
downloadwireguard-openbsd-c4d3fa85a07f248616304fddbff2b40c876fcc18.tar.xz
wireguard-openbsd-c4d3fa85a07f248616304fddbff2b40c876fcc18.zip
Move handling of the roff(7) .ft request from the man(7)
modules to the new roff(7) modules. As a side effect, mdoc(7) now handles .ft, too. Of course, do not use that.
Diffstat (limited to 'usr.bin/mandoc/mdoc_html.c')
-rw-r--r--usr.bin/mandoc/mdoc_html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mdoc_html.c b/usr.bin/mandoc/mdoc_html.c
index de61d94cfcb..c6445dcaf4a 100644
--- a/usr.bin/mandoc/mdoc_html.c
+++ b/usr.bin/mandoc/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mdoc_html.c,v 1.157 2017/05/04 22:07:44 schwarze Exp $ */
+/* $OpenBSD: mdoc_html.c,v 1.158 2017/05/05 02:06:17 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -393,6 +393,7 @@ print_mdoc_node(MDOC_ARGS)
assert(h->tblt == NULL);
if (n->tok < ROFF_MAX) {
roff_html_pre(h, n);
+ child = 0;
break;
}
assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX);