From 4f8810a6b21aaef198d7405a74feb429f74a0091 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 13 Dec 2014 13:14:39 +0000 Subject: Fix a regression found by Carsten dot Kunze at arcor dot de: Do not show bogus quotes when .Bl -column phrases are quoted. --- mdoc_macro.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mdoc_macro.c') diff --git a/mdoc_macro.c b/mdoc_macro.c index 6d1556b4..f2f59962 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -672,11 +672,9 @@ macro_or_word(MACRO_PROT_ARGS, int parsed) p = buf + ppos; ntok = MDOC_MAX; - if (mdoc->flags & MDOC_PHRASELIT) - /* nothing */; - else if (*p == '"') + if (*p == '"') p++; - else if (parsed) + else if (parsed && ! (mdoc->flags & MDOC_PHRASELIT)) ntok = lookup(mdoc, tok, line, ppos, p); if (ntok == MDOC_MAX) { -- cgit