From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id 6ed956b1 for ; Tue, 8 Nov 2016 11:05:27 -0500 (EST) Date: Tue, 8 Nov 2016 11:05:27 -0500 (EST) Message-Id: <11770213276538353781.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: generate two tag entries from list entries of the form .It Macro X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- generate two tag entries from list entries of the form .It Macro tag1 ... | Macro tag2 ... written on the TGV Toulouse-Paris Modified Files: -------------- mdocml: mdoc_term.c Revision Data ------------- Index: mdoc_term.c =================================================================== RCS file: /home/cvs/mdocml/mdocml/mdoc_term.c,v retrieving revision 1.332 retrieving revision 1.333 diff -Lmdoc_term.c -Lmdoc_term.c -u -p -r1.332 -r1.333 --- mdoc_term.c +++ 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 && -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv