From 5e7fb1db20be568b2fe3b2f582beeb683c0812eb Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 1 Oct 2010 21:51:13 +0000 Subject: * need a space before .No even if it starts with a closing delimiter * slightly simplify .Pf *_IGNDELIM code, and share part of it with .No * do not let opening delimiters fall out of the front of .Ns (from kristaps@) This fixes a few spacing issues in csh(1) and ksh(1). OK kristaps@ --- html.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'html.c') diff --git a/html.c b/html.c index 138d3e4c..91be0b1f 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.112 2010/09/04 20:18:53 kristaps Exp $ */ +/* $Id: html.c,v 1.113 2010/10/01 21:51:13 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -552,6 +552,8 @@ print_text(struct html *h, const char *word) if ( ! (h->flags & HTML_NONOSPACE)) h->flags &= ~HTML_NOSPACE; + h->flags &= ~HTML_IGNDELIM; + /* * Note that we don't process the pipe: the parser sees it as * punctuation, but we don't in terms of typography. -- cgit v1.2.3