version 1.383, 2020/04/06 10:16:17 |
version 1.384, 2020/04/08 11:56:03 |
Line 2212 post_hyph(POST_ARGS) |
|
Line 2212 post_hyph(POST_ARGS) |
|
if (*cp == '-' && |
if (*cp == '-' && |
isalpha((unsigned char)cp[-1]) && |
isalpha((unsigned char)cp[-1]) && |
isalpha((unsigned char)cp[1])) { |
isalpha((unsigned char)cp[1])) { |
if (n->string == NULL && n->flags & NODE_ID) |
if (n->tag == NULL && n->flags & NODE_ID) |
n->string = mandoc_strdup(nch->string); |
n->tag = mandoc_strdup(nch->string); |
*cp = ASCII_HYPH; |
*cp = ASCII_HYPH; |
} |
} |
} |
} |