diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-22 19:23:48 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-22 19:23:48 +0000 |
commit | c9f801d9804d2a25f795302e5db93880df4f4d87 (patch) | |
tree | 7b147f5444b71e4c9386eeac77ed155e23156314 /term.c | |
parent | f25db392c434984141c67fb983517a0dd28c4fe1 (diff) | |
download | mandoc-c9f801d9804d2a25f795302e5db93880df4f4d87.tar.gz |
Fixed `.Pf' handling.
System now supports all mdocml manual pages.
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -319,8 +319,11 @@ word(struct termp *p, const char *word) len = strlen(word); assert(len > 0); - if (mdoc_isdelim(word)) - p->flags |= TERMP_NOSPACE; + if (mdoc_isdelim(word)) { + if ( ! (p->flags & TERMP_IGNDELIM)) + p->flags |= TERMP_NOSPACE; + p->flags &= ~TERMP_IGNDELIM; + } /* LINTED */ for (j = i = 0; i < len; i++) { |