diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-11-18 00:05:35 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-11-18 00:05:35 +0000 |
commit | 24999e02cb489a8e3d5df9fd7000905e9be9e30d (patch) | |
tree | c95e280ae59c93e494f5bac4b3912bc8bd85d6fb /mdoc_macro.c | |
parent | 1f03d7beeffd15115d82eff4add4681db338cdd1 (diff) | |
download | mandoc-24999e02cb489a8e3d5df9fd7000905e9be9e30d.tar.gz |
Fix four small whitespace issues related to trailing punctuation
reported by Nicolas Joly <njoly at pasteur dot fr>:
- 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.
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r-- | mdoc_macro.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |