summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2012-07-08 16:52:20 +0000
committerIngo Schwarze <schwarze@openbsd.org>2012-07-08 16:52:20 +0000
commit35fccfe4d7e5eb6b101edbe7c248e632d2f9e833 (patch)
treedd70e7098ae07f5f4b933ae55847fc25d87e453c /mdoc_term.c
parente7efdac80f110606f248f90df51a7667868c9439 (diff)
downloadmandoc-35fccfe4d7e5eb6b101edbe7c248e632d2f9e833.tar.gz
implement -Tman .An
also reset -[no]split mode at .Sh AUTHORS in -Tascii OpenBSD rev. 1.20 and 1.141, respectively
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 3c9a87a7..a0e7cb72 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1425,6 +1425,8 @@ termp_sh_pre(DECL_ARGS)
break;
case (MDOC_BODY):
p->offset = term_len(p, p->defindent);
+ if (SEC_AUTHORS == n->sec)
+ p->flags &= ~(TERMP_SPLIT|TERMP_NOSPLIT);
break;
default:
break;