diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-06-14 22:50:38 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-06-14 22:50:38 +0000 |
commit | 73f02f010c9859d465642793bb2c4dd4a9434c74 (patch) | |
tree | d749250337bc32186ade95c1d09c295cb60c90f3 /usr.bin/mandoc/roff_html.c | |
parent | 99d9184da54adc1a9f54367e817f1f6f59928e50 (diff) |
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.c | 3 |
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 */ |