version 1.125, 2013/12/24 20:45:27 |
version 1.126, 2013/12/31 22:40:12 |
Line 1349 blk_part_imp(MACRO_PROT_ARGS) |
|
Line 1349 blk_part_imp(MACRO_PROT_ARGS) |
|
body = mdoc->last; |
body = mdoc->last; |
} |
} |
|
|
for (n = body->child; n && n->next; n = n->next) |
|
/* Do nothing. */ ; |
|
|
|
/* |
|
* End of sentence spacing: if the last node is a text node and |
|
* has a trailing period, then mark it as being end-of-sentence. |
|
*/ |
|
|
|
if (n && MDOC_TEXT == n->type && n->string) |
|
if (mandoc_eos(n->string, strlen(n->string), 1)) |
|
n->flags |= MDOC_EOS; |
|
|
|
/* Up-propagate the end-of-space flag. */ |
|
|
|
if (n && (MDOC_EOS & n->flags)) { |
|
body->flags |= MDOC_EOS; |
|
body->parent->flags |= MDOC_EOS; |
|
} |
|
|
|
/* |
/* |
* If there is an open sub-block requiring explicit close-out, |
* If there is an open sub-block requiring explicit close-out, |
* postpone closing out the current block |
* postpone closing out the current block |