aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-14 22:51:25 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-14 22:51:25 +0000
commita5cb8b874ed422ba6f202f5cd0dc73e4689e168b (patch)
tree04995cd7ced1bad663ee8096460feda6fa6f3b5a /roff_html.c
parente9ac0876da23cde98a17d36ab849630061754ff0 (diff)
downloadmandoc-a5cb8b874ed422ba6f202f5cd0dc73e4689e168b.tar.gz
mandoc-a5cb8b874ed422ba6f202f5cd0dc73e4689e168b.tar.zst
mandoc-a5cb8b874ed422ba6f202f5cd0dc73e4689e168b.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 'roff_html.c')
-rw-r--r--roff_html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/roff_html.c b/roff_html.c
index 7f440dfe..909604f8 100644
--- a/roff_html.c
+++ b/roff_html.c
@@ -1,4 +1,4 @@
-/* $Id: roff_html.c,v 1.9 2017/06/14 13:00:31 schwarze Exp $ */
+/* $Id: roff_html.c,v 1.10 2017/06/14 22:51:25 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 */