X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/ed985164976ccd03ae1cd954a33c775bfc84b0c2..f9f885c1e8698d5ea3f3db06579ea043741137e3:/mdoc_html.c?ds=sidebyside diff --git a/mdoc_html.c b/mdoc_html.c index 706b0560..ca51049e 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.215 2014/12/01 08:05:52 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.216 2014/12/02 10:08:06 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014 Ingo Schwarze @@ -1201,7 +1201,8 @@ mdoc_bd_pre(MDOC_ARGS) default: break; } - if (nn->next && nn->next->line == nn->line) + if (h->flags & HTML_NONEWLINE || + (nn->next && ! (nn->next->flags & MDOC_LINE))) continue; else if (nn->next) print_text(h, "\n");