diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-26 22:26:05 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-26 22:26:05 +0000 |
commit | 08aafd241c1ac542a9be86df47ea700e39152892 (patch) | |
tree | d0a0514c6695c5306fbd2e9b833a85fcb4c2d250 | |
parent | 1fd005d98a28db7342389bec4f417e3fa20edd5d (diff) | |
download | mandoc-08aafd241c1ac542a9be86df47ea700e39152892.tar.gz |
Make `Sm' start no-spacing after the first output word. Fix in both
-T[x]html and -T{pdf,ps,ascii}. Reported by Jason McIntyre.
-rw-r--r-- | html.c | 2 | ||||
-rw-r--r-- | term.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -419,6 +419,8 @@ print_otag(struct html *h, enum htmltag tag, if ( ! (h->flags & HTML_NONOSPACE)) h->flags &= ~HTML_NOSPACE; + else + h->flags |= HTML_NOSPACE; /* Print out the tag name and attributes. */ @@ -502,6 +502,8 @@ term_word(struct termp *p, const char *word) if ( ! (p->flags & TERMP_NONOSPACE)) p->flags &= ~TERMP_NOSPACE; + else + p->flags |= TERMP_NOSPACE; p->flags &= ~TERMP_SENTENCE; |