diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-01-25 12:35:09 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-01-25 12:35:09 +0000 |
commit | 7d4de02dd6695c84d1787692b20b6a2d9942a67d (patch) | |
tree | 1f79166531ba180d56cf84ef5d721cd21989d5a9 /man_term.c | |
parent | 32399be7a2c7f4d8b7d359d15e610a11b6788492 (diff) | |
download | mandoc-7d4de02dd6695c84d1787692b20b6a2d9942a67d.tar.gz mandoc-7d4de02dd6695c84d1787692b20b6a2d9942a67d.tar.zst mandoc-7d4de02dd6695c84d1787692b20b6a2d9942a67d.zip |
Avoid double blank line before a table preceded by .PP.
ok kristaps@
Diffstat (limited to 'man_term.c')
-rw-r--r-- | man_term.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.100 2011/01/23 14:54:21 schwarze Exp $ */ +/* $Id: man_term.c,v 1.101 2011/01/25 12:35:09 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -212,6 +212,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; |