=================================================================== RCS file: /cvs/mandoc/mdoc_html.c,v retrieving revision 1.214 retrieving revision 1.216 diff -u -p -r1.214 -r1.216 --- mandoc/mdoc_html.c 2014/11/30 05:29:00 1.214 +++ mandoc/mdoc_html.c 2014/12/02 10:08:06 1.216 @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.214 2014/11/30 05:29:00 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 @@ -26,11 +26,10 @@ #include #include -#include "mandoc.h" #include "mandoc_aux.h" +#include "mdoc.h" #include "out.h" #include "html.h" -#include "mdoc.h" #include "main.h" #define INDENT 5 @@ -1202,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");