=================================================================== RCS file: /cvs/mandoc/mdoc_term.c,v retrieving revision 1.273 retrieving revision 1.274 diff -u -p -r1.273 -r1.274 --- mandoc/mdoc_term.c 2014/07/30 00:19:16 1.273 +++ mandoc/mdoc_term.c 2014/07/30 17:06:26 1.274 @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.273 2014/07/30 00:19:16 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.274 2014/07/30 17:06:26 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2012, 2013, 2014 Ingo Schwarze @@ -1770,6 +1770,9 @@ termp_ss_pre(DECL_ARGS) term_fontpush(p, TERMFONT_BOLD); p->offset = term_len(p, (p->defindent+1)/2); break; + case MDOC_BODY: + p->offset = term_len(p, p->defindent); + break; default: break; } @@ -1781,7 +1784,7 @@ static void termp_ss_post(DECL_ARGS) { - if (MDOC_HEAD == n->type) + if (n->type == MDOC_HEAD || n->type == MDOC_BODY) term_newln(p); }