summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/roff_html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-06-14 22:50:37 +0000
committerschwarze <schwarze@openbsd.org>2017-06-14 22:50:37 +0000
commitaf1e8f15b7f08549080de19ba7fac4441ea53f94 (patch)
tree568b7e7b3189d0c2066c9ead36ada314cb85190b /usr.bin/mandoc/roff_html.c
parentEnable hvs(4), "go for it" from deraadt. (diff)
downloadwireguard-openbsd-af1e8f15b7f08549080de19ba7fac4441ea53f94.tar.xz
wireguard-openbsd-af1e8f15b7f08549080de19ba7fac4441ea53f94.zip
Naive implementation of the roff(7) .po (page offset) request.
This clearly works when .po is called on the top level, but might not be sophisticated enough if people call .po inside indentation-changing contexts, but i haven't seen that in manual pages (yet :).
Diffstat (limited to 'usr.bin/mandoc/roff_html.c')
-rw-r--r--usr.bin/mandoc/roff_html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/roff_html.c b/usr.bin/mandoc/roff_html.c
index 91de5fc58ba..9674ba9f6cf 100644
--- a/usr.bin/mandoc/roff_html.c
+++ b/usr.bin/mandoc/roff_html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: roff_html.c,v 1.9 2017/06/14 13:00:13 schwarze Exp $ */
+/* $OpenBSD: roff_html.c,v 1.10 2017/06/14 22:50:37 schwarze Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -38,6 +38,7 @@ static const roff_html_pre_fp roff_html_pre_acts[ROFF_MAX] = {
NULL, /* ft */
NULL, /* ll */
NULL, /* mc */
+ NULL, /* po */
roff_html_pre_ce, /* rj */
roff_html_pre_sp, /* sp */
NULL, /* ta */