version 1.82, 2013/12/24 20:45:21 |
version 1.83, 2013/12/30 00:20:18 |
|
|
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 |