diff options
author | 2011-01-25 12:35:07 +0000 | |
---|---|---|
committer | 2011-01-25 12:35:07 +0000 | |
commit | c5ee43dc69ba9a99f6847ed03de17d9aa32bdb57 (patch) | |
tree | 59152c9b183048a4b51c81d34df9c3d31d98e4cf | |
parent | Since tbl_data() can now produce multiple spans, let parsebuf() (diff) | |
download | wireguard-openbsd-c5ee43dc69ba9a99f6847ed03de17d9aa32bdb57.tar.xz wireguard-openbsd-c5ee43dc69ba9a99f6847ed03de17d9aa32bdb57.zip |
Avoid double blank line before a table preceded by .PP.
ok kristaps@
-rw-r--r-- | usr.bin/mandoc/man_term.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man_term.c b/usr.bin/mandoc/man_term.c index 455d37cd4d3..6fb2154fb85 100644 --- a/usr.bin/mandoc/man_term.c +++ b/usr.bin/mandoc/man_term.c @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.63 2011/01/23 14:54:15 schwarze Exp $ */ +/* $Id: man_term.c,v 1.64 2011/01/25 12:35:07 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -208,6 +208,9 @@ print_bvspace(struct termp *p, const struct man_node *n) { term_newln(p); + if (n->body && n->body->child && MAN_TBL == n->body->child->type) + return; + if (NULL == n->prev) return; |