diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-30 05:29:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-30 05:29:00 +0000 |
commit | e43c73ab8f3bb75f87f1c6bbba2b3ae2baad3cd3 (patch) | |
tree | 703bad3ba7634f8cdeb4be5d26ef773d373ea8c1 /mdoc_html.c | |
parent | 672fb7896ca2c19f7313864be8ddba51337a45c0 (diff) | |
download | mandoc-e43c73ab8f3bb75f87f1c6bbba2b3ae2baad3cd3.tar.gz |
Multiple fixes with respect to .Pf:
* The first argument of .Pf is not parsed.
* Normal delimiter handling does not apply to the first argument of .Pf.
* Warn if nothing follows a prefix (inspired by groff_mdoc(7)).
* In that case, do not suppress spacing.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index ed589127..fe333655 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1869,7 +1869,8 @@ static void mdoc_pf_post(MDOC_ARGS) { - h->flags |= HTML_NOSPACE; + if ( ! (n->next == NULL || n->next->flags & MDOC_LINE)) + h->flags |= HTML_NOSPACE; } static int |