diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-14 12:00:24 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-14 12:00:24 +0000 |
commit | e4ebb5bcdf052d8f914e859f05f4bdebce821b00 (patch) | |
tree | fcdd58665276172f94a19278f81e5532fdc6d9c1 /html.c | |
parent | e97c3f3af85655664c79a59519735abc8776f110 (diff) | |
download | mandoc-e4ebb5bcdf052d8f914e859f05f4bdebce821b00.tar.gz |
Fix of fix of -Thtml nospace.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -372,11 +372,11 @@ print_text(struct html *h, const char *p) if ( ! (h->flags & HTML_NOSPACE)) putchar(' '); - h->flags &= ~HTML_NOSPACE; h->flags &= ~HTML_NEWLINE; - if (p) - print_encode(h, p); + assert(p); + if ( ! print_encode(h, p)) + h->flags &= ~HTML_NOSPACE; if (*p && 0 == *(p + 1)) switch (*p) { |