version 1.6, 2017/03/07 13:28:02 |
version 1.7, 2017/03/07 14:04:08 |
Line 957 md_pre_Eo(struct roff_node *n) |
|
Line 957 md_pre_Eo(struct roff_node *n) |
|
static void |
static void |
md_post_Eo(struct roff_node *n) |
md_post_Eo(struct roff_node *n) |
{ |
{ |
int body, tail; |
|
|
|
if (n->end != ENDBODY_NOT) { |
if (n->end != ENDBODY_NOT) { |
outflags |= MD_spc; |
outflags |= MD_spc; |
return; |
return; |
} |
} |
|
|
body = n->child != NULL || n->parent->head->child != NULL; |
if (n->child == NULL && n->parent->head->child == NULL) |
tail = n->parent->tail != NULL && n->parent->tail->child != NULL; |
return; |
|
|
if (body && tail) |
if (n->parent->tail != NULL && n->parent->tail->child != NULL) |
outflags &= ~MD_spc; |
outflags &= ~MD_spc; |
else if ( ! (body || tail)) |
else |
md_preword(); |
|
else if ( ! tail) |
|
outflags |= MD_spc; |
outflags |= MD_spc; |
} |
} |
|
|