=================================================================== RCS file: /cvs/mandoc/mdoc_term.c,v retrieving revision 1.120 retrieving revision 1.121 diff -u -p -r1.120 -r1.121 --- mandoc/mdoc_term.c 2010/05/10 08:05:17 1.120 +++ mandoc/mdoc_term.c 2010/05/12 16:01:01 1.121 @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.120 2010/05/10 08:05:17 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.121 2010/05/12 16:01:01 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -336,6 +336,9 @@ print_mdoc_node(DECL_ARGS) if (MDOC_TEXT != n->type) if (termacts[n->tok].post) (*termacts[n->tok].post)(p, &npair, m, n); + + if (MDOC_EOS & n->flags) + p->flags |= TERMP_SENTENCE; p->offset = offset; p->rmargin = rmargin;