From 24999e02cb489a8e3d5df9fd7000905e9be9e30d Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 18 Nov 2012 00:05:35 +0000 Subject: Fix four small whitespace issues related to trailing punctuation reported by Nicolas Joly : - add EOS spacing after trailing punctuation after .Cd, .Fc, and .Lb - suppress spacing before trailing punctuation after .Fd Add the remaining issues from the same report to the TODO file. --- mdoc_macro.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mdoc_macro.c') diff --git a/mdoc_macro.c b/mdoc_macro.c index f8608764..e946d7ab 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -612,7 +612,8 @@ dword(struct mdoc *mdoc, int line, */ else if (DELIM_CLOSE == d && mdoc->last->prev && - mdoc->last->prev->tok != MDOC_No) + mdoc->last->prev->tok != MDOC_No && + mdoc->last->parent->tok != MDOC_Fd) mdoc->last->flags |= MDOC_DELIMC; return(1); -- cgit