diff options
-rw-r--r-- | html.c | 4 | ||||
-rw-r--r-- | term.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.109 2010/07/23 00:08:57 kristaps Exp $ */ +/* $Id: html.c,v 1.110 2010/07/26 22:26:05 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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. */ @@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.165 2010/07/26 21:58:41 kristaps Exp $ */ +/* $Id: term.c,v 1.166 2010/07/26 22:26:05 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -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; |