summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index f3e00a1f..6cba2d38 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -858,7 +858,8 @@ termp_it_pre(DECL_ARGS)
switch (type) {
case (MDOC_Diag):
- term_word(p, "\\ \\ ");
+ if (MDOC_BODY == node->type)
+ term_word(p, "\\ \\ ");
break;
case (MDOC_Inset):
if (MDOC_BODY == node->type)