diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-07 14:34:11 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-07 14:34:11 +0000 |
commit | 205237feaaf479c37cd4bc509f72d3021dbd69a5 (patch) | |
tree | 7a29e66a43ce0972c69fedd4d6d4f24274902728 /html.c | |
parent | 86154fdc77eb329c3d008b6bb93b78f644557c2d (diff) | |
download | mandoc-205237feaaf479c37cd4bc509f72d3021dbd69a5.tar.gz |
Fix handling of the `\c' escape in -T[x]html.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -513,9 +513,11 @@ print_text(struct html *h, const char *word) print_otag(h, TAG_I, 0, NULL); assert(word); - if ( ! print_encode(h, word, 0)) + if ( ! print_encode(h, word, 0)) { if ( ! (h->flags & HTML_NONOSPACE)) h->flags &= ~HTML_NOSPACE; + } else + h->flags |= HTML_NOSPACE; if (h->metaf) { print_tagq(h, h->metaf); |