summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2010-10-01 21:51:13 +0000
committerIngo Schwarze <schwarze@openbsd.org>2010-10-01 21:51:13 +0000
commit888848b9ef0ff0c2d78f3756002677111f4cb08d (patch)
tree40aa39c9d9d3ae0c0915d1916711132db0595710 /html.c
parenta72d3964e9e3f62beff54d04f4caf25f5856e020 (diff)
downloadmandoc-888848b9ef0ff0c2d78f3756002677111f4cb08d.tar.gz
* 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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/html.c b/html.c
index f2f0c060..722d5e19 100644
--- a/html.c
+++ b/html.c
@@ -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.