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 o6QMQ5vE003155 for ; Mon, 26 Jul 2010 18:26:06 -0400 (EDT) Received: (from kristaps@localhost) by krisdoz.my.domain (8.14.3/8.14.3/Submit) id o6QMQ5a8015018; Mon, 26 Jul 2010 18:26:05 -0400 (EDT) Date: Mon, 26 Jul 2010 18:26:05 -0400 (EDT) Message-Id: <201007262226.o6QMQ5a8015018@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: Make `Sm' start no-spacing after the first output word. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- 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. Modified Files: -------------- mdocml: html.c term.c Revision Data ------------- Index: term.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/term.c,v retrieving revision 1.165 retrieving revision 1.166 diff -Lterm.c -Lterm.c -u -p -r1.165 -r1.166 --- term.c +++ term.c @@ -502,6 +502,8 @@ term_word(struct termp *p, const char *w if ( ! (p->flags & TERMP_NONOSPACE)) p->flags &= ~TERMP_NOSPACE; + else + p->flags |= TERMP_NOSPACE; p->flags &= ~TERMP_SENTENCE; Index: html.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/html.c,v retrieving revision 1.109 retrieving revision 1.110 diff -Lhtml.c -Lhtml.c -u -p -r1.109 -r1.110 --- html.c +++ html.c @@ -419,6 +419,8 @@ print_otag(struct html *h, enum htmltag if ( ! (h->flags & HTML_NONOSPACE)) h->flags &= ~HTML_NOSPACE; + else + h->flags |= HTML_NOSPACE; /* Print out the tag name and attributes. */ -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv