diff options
-rw-r--r-- | mdoc_html.c | 6 | ||||
-rw-r--r-- | mdoc_term.c | 6 |
2 files changed, 6 insertions, 6 deletions
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 <kristaps@kth.se> * @@ -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 6197f10d..2b591f98 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.113 2010/04/03 14:25:12 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.114 2010/04/06 07:27:42 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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); } |