From bef62492fa9d4ef61624e3616a1d3b13e8fe697e Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 8 Nov 2016 16:04:57 +0000 Subject: generate two tag entries from list entries of the form .It Macro tag1 ... | Macro tag2 ... written on the TGV Toulouse-Paris --- mdoc_term.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mdoc_term.c') 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 && -- cgit