From c1fc26cea90ddef77e9961215dcae4b7ea52f643 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 6 Apr 2010 07:27:42 +0000 Subject: `Fl' now correctly suppresses the trailing space if followed by macros on the same line. --- mdoc_html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc_html.c') diff --git a/mdoc_html.c b/mdoc_html.c index 9d03a7fe..bfcb5674 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -666,10 +666,10 @@ mdoc_fl_pre(MDOC_ARGS) print_text(h, "\\-"); - /* A blank `Fl' should incur a subsequent space. */ - if (n->child) h->flags |= HTML_NOSPACE; + else if (n->next && n->next->line == n->line) + h->flags |= HTML_NOSPACE; return(1); } -- cgit