From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (kristaps@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p67EYCbV015386 for ; Thu, 7 Jul 2011 10:34:12 -0400 (EDT) Received: (from kristaps@localhost) by krisdoz.my.domain (8.14.3/8.14.3/Submit) id p67EYBNg017635; Thu, 7 Jul 2011 10:34:11 -0400 (EDT) Date: Thu, 7 Jul 2011 10:34:11 -0400 (EDT) Message-Id: <201107071434.p67EYBNg017635@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: kristaps@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Fix handling of the `\c' escape in -T[x]html. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Fix handling of the `\c' escape in -T[x]html. Modified Files: -------------- mdocml: html.c Revision Data ------------- Index: html.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/html.c,v retrieving revision 1.148 retrieving revision 1.149 diff -Lhtml.c -Lhtml.c -u -p -r1.148 -r1.149 --- html.c +++ html.c @@ -513,9 +513,11 @@ print_text(struct html *h, const char *w 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); -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv