aboutsummaryrefslogtreecommitdiffstatshomepage
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
commite00c497f98e897ea30cb2e7a41f009c5272a234f (patch)
tree4165671187dc805cd780de98cf5e420366fd5c7b /mdoc_term.c
parent9aed0ad6fe5f405b87bb5ac69baccbcb31a706ec (diff)
downloadmandoc-e00c497f98e897ea30cb2e7a41f009c5272a234f.tar.gz
mandoc-e00c497f98e897ea30cb2e7a41f009c5272a234f.tar.zst
mandoc-e00c497f98e897ea30cb2e7a41f009c5272a234f.zip
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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 53335664..459462af 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.238 2011/11/13 13:15:14 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.239 2012/07/08 16:52:20 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -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;