From f09689841f25650e61f65b87c1c8e4c2edbf4137 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 30 Oct 2015 19:04:16 +0000 Subject: If a .Bd block has no arguments at all, drop the block and only keep its contents. Removing a gratuitious difference to groff output found after a related bug report from krw@. --- mdoc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mdoc.c') diff --git a/mdoc.c b/mdoc.c index 28f94d0b..dca556e0 100644 --- a/mdoc.c +++ b/mdoc.c @@ -205,6 +205,7 @@ mdoc_node_relink(struct roff_man *mdoc, struct roff_node *p) { roff_node_unlink(mdoc, p); + p->prev = p->next = NULL; roff_node_append(mdoc, p); } -- cgit