summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-13 07:46:10 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-13 07:46:10 +0000
commit73f6b000e575a797b3e935042bf46015a4514bd2 (patch)
treeb0896cb7852ae810fd3871faf7f1cd7ee491cc97 /term.c
parent9d110f5a7fbb43bfb15da55e0d04ebb578927b97 (diff)
downloadmandoc-73f6b000e575a797b3e935042bf46015a4514bd2.tar.gz
Added canonical mdoc.7.
Added \q macro.
Diffstat (limited to 'term.c')
-rw-r--r--term.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/term.c b/term.c
index b54db3dd..c1bbf8ea 100644
--- a/term.c
+++ b/term.c
@@ -1469,8 +1469,12 @@ termp_ss_pre(DECL_ARGS)
{
switch (node->type) {
+ case (MDOC_BLOCK):
+ newln(p);
+ if (node->prev)
+ vspace(p);
+ break;
case (MDOC_HEAD):
- vspace(p);
TERMPAIR_SETFLAG(p, pair, ttypes[TTYPE_SSECTION]);
p->offset = INDENT / 2;
break;