From c28713a310b996133153932ab47ff94f3cb06211 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 24 Dec 2013 20:45:27 +0000 Subject: It turns out SYNOPSIS mode does not imply .Bk in general, but only within .Nm blocks. Simplify the code accordingly. Triggered by research done by Franco Fichtner. --- mdoc_html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc_html.c') diff --git a/mdoc_html.c b/mdoc_html.c index 151657fb..a7aa722d 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.185 2013/12/24 19:11:46 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.186 2013/12/24 20:45:27 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * @@ -459,7 +459,7 @@ print_mdoc_node(MDOC_ARGS) break; } - if (HTML_KEEP & h->flags || MDOC_SYNPRETTY & n->flags) { + if (HTML_KEEP & h->flags) { if (n->prev ? (n->prev->lastline != n->line) : (n->parent && n->parent->line != n->line)) { h->flags &= ~HTML_KEEP; -- cgit v1.2.3