From a597f1a29b369c2c740c417626bfa20242c09d67 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mdoc_html.c') diff --git a/mdoc_html.c b/mdoc_html.c index 05cafa8d..43abe55d 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.57 2010/04/05 08:51:56 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.58 2010/04/06 07:27:42 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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 v1.2.3