summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdoc_html.c4
-rw-r--r--mdoc_term.c4
2 files changed, 4 insertions, 4 deletions
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);
}
diff --git a/mdoc_term.c b/mdoc_term.c
index 7e397362..d1de3107 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1070,10 +1070,10 @@ termp_fl_pre(DECL_ARGS)
term_fontpush(p, TERMFONT_BOLD);
term_word(p, "\\-");
- /* A blank `Fl' should incur a subsequent space. */
-
if (n->child)
p->flags |= TERMP_NOSPACE;
+ else if (n->next && n->next->line == n->line)
+ p->flags |= TERMP_NOSPACE;
return(1);
}