summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-04-06 07:27:42 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-04-06 07:27:42 +0000
commitc1fc26cea90ddef77e9961215dcae4b7ea52f643 (patch)
tree54c87614e1d465e39950e208d21f38db9833d48d /mdoc_html.c
parent58e74b4a43bf6e0d03cc6ad02bc4a0c771fb95e8 (diff)
downloadmandoc-c1fc26cea90ddef77e9961215dcae4b7ea52f643.tar.gz
`Fl' now correctly suppresses the trailing space if followed by macros on the same line.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c4
1 files changed, 2 insertions, 2 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);
}