diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2010-10-01 21:51:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2010-10-01 21:51:13 +0000 |
commit | 5e7fb1db20be568b2fe3b2f582beeb683c0812eb (patch) | |
tree | e60b646fbe07b7f6e7a28697bf799d224da66b76 /html.c | |
parent | c3ccf2f42ee5664ddacf557bae68288b6dea8c44 (diff) | |
download | mandoc-5e7fb1db20be568b2fe3b2f582beeb683c0812eb.tar.gz mandoc-5e7fb1db20be568b2fe3b2f582beeb683c0812eb.tar.zst mandoc-5e7fb1db20be568b2fe3b2f582beeb683c0812eb.zip |
* 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@
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 <kristaps@bsd.lv> * @@ -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. |