summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdoc_term.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 1f45bb8e..e4a3bdc5 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -797,9 +797,6 @@ termp_it_pre(DECL_ARGS)
*/
switch (type) {
- case (MDOC_Diag):
- term_word(p, "\\ ");
- /* FALLTHROUGH */
case (MDOC_Inset):
if (MDOC_BODY == node->type)
p->flags &= ~TERMP_NOSPACE;
@@ -988,6 +985,7 @@ termp_it_post(DECL_ARGS)
switch (type) {
case (MDOC_Diag):
+ term_word(p, "\\ ");
/* FALLTHROUGH */
case (MDOC_Item):
/* FALLTHROUGH */