summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdoc_man.c2
-rw-r--r--mdoc_term.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_man.c b/mdoc_man.c
index 18e3a83a..97127d11 100644
--- a/mdoc_man.c
+++ b/mdoc_man.c
@@ -901,7 +901,7 @@ static void
post_bk(DECL_ARGS)
{
- if (MDOC_BODY == n->type)
+ if (MDOC_BODY == n->type && ! (MDOC_SYNPRETTY & n->flags))
outflags &= ~MMAN_Bk;
}
diff --git a/mdoc_term.c b/mdoc_term.c
index 015af506..dadbf513 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -2215,7 +2215,7 @@ static void
termp_bk_post(DECL_ARGS)
{
- if (MDOC_BODY == n->type)
+ if (MDOC_BODY == n->type && ! (MDOC_SYNPRETTY & n->flags))
p->flags &= ~(TERMP_KEEP | TERMP_PREKEEP);
}