summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 48551056..aa8b00f4 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1599,7 +1599,9 @@ termp_bd_pre(DECL_ARGS)
return(1);
tabwidth = p->tabwidth;
- p->tabwidth = term_len(p, 8);
+ if (DISP_literal == n->norm->Bd.type)
+ p->tabwidth = term_len(p, 8);
+
rm = p->rmargin;
rmax = p->maxrmargin;
p->rmargin = p->maxrmargin = TERM_MAXMARGIN;