diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 19:28:46 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 19:28:46 +0000 |
commit | a2f621336638ee15b43b64a1332dd5fbea9b789d (patch) | |
tree | c3fc1abbbaf8f71c65b8f3ca143d05d635371277 /mdoc_term.c | |
parent | ebc953bff65a81b3245f42b7779361757c3a889e (diff) | |
download | mandoc-a2f621336638ee15b43b64a1332dd5fbea9b789d.tar.gz |
`Vt' macro behaves [more] properly when in the SYNOPSIS section.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 6da07822..106cac04 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1204,7 +1204,11 @@ static void termp_vt_post(DECL_ARGS) { - if (node->sec == SEC_SYNOPSIS) + if (node->sec != SEC_SYNOPSIS) + return; + if (node->next && MDOC_Vt == node->next->tok) + term_newln(p); + else if (node->next) term_vspace(p); } |