diff options
author | 2017-06-04 22:43:50 +0000 | |
---|---|---|
committer | 2017-06-04 22:43:50 +0000 | |
commit | 24f1eaad147cc1e120b3330b9bfff80e6c41d14a (patch) | |
tree | d3f7f55a11012493991ff5e966ac4f7af472fe25 /usr.bin/mandoc/roff_html.c | |
parent | fix a bungled logical/bitwise expression pointed out by clang; ok deraadt@ (diff) | |
download | wireguard-openbsd-24f1eaad147cc1e120b3330b9bfff80e6c41d14a.tar.xz wireguard-openbsd-24f1eaad147cc1e120b3330b9bfff80e6c41d14a.zip |
Implement the roff(7) .mc (right margin character) request.
The Tcl/Tk manual pages use this extensively.
Delete the TERM_MAXMARGIN hack, it breaks .mc inside .nf;
instead, implement a proper TERMP_BRNEVER flag.
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 a031d98aeac..49745576933 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.5 2017/05/08 15:33:43 schwarze Exp $ */ +/* $OpenBSD: roff_html.c,v 1.6 2017/06/04 22:43:50 schwarze Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -35,6 +35,7 @@ static const roff_html_pre_fp roff_html_pre_acts[ROFF_MAX] = { roff_html_pre_br, /* br */ NULL, /* ft */ NULL, /* ll */ + NULL, /* mc */ roff_html_pre_sp, /* sp */ NULL, /* ta */ NULL, /* ti */ |