diff options
-rw-r--r-- | mdoc_term.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 65bd43d6..bdfa5099 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -2235,7 +2235,9 @@ termp_tag_pre(DECL_ARGS) if (n->child != NULL && n->child->type == ROFFT_TEXT && - n->prev == NULL && + (n->prev == NULL || + (n->prev->type == ROFFT_TEXT && + strcmp(n->prev->string, "|") == 0)) && (n->parent->tok == MDOC_It || (n->parent->tok == MDOC_Xo && n->parent->parent->prev == NULL && |