summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-12-24 20:45:27 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-12-24 20:45:27 +0000
commit472637a00de4c03052114688d7473918eb455561 (patch)
treee3ad1192f26e0fec58145953e745e833430faacd /mdoc_html.c
parent8d226e7d9f28fbbca5bd6969e8fe3e6ee69ec94e (diff)
downloadmandoc-472637a00de4c03052114688d7473918eb455561.tar.gz
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.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index c25b009c..02390c42 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -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;