summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO5
-rw-r--r--mdoc_term.c4
2 files changed, 3 insertions, 6 deletions
diff --git a/TODO b/TODO
index 580b5e69..66543b20 100644
--- a/TODO
+++ b/TODO
@@ -152,11 +152,6 @@
Also have `It' complain if `Pp' is invoked at certain times (not
-compact?).
-- .Bd -literal and .Bd -unfilled are *not* identical.
- In -literal, tabs are 8 spaces.
- In -unfilled, tabs are 5 spaces, just like in -filled and -ragged.
- See the CCDF_* display in OpenBSD ccdconfig(8).
-
- .Nx 1.0a
should be "NetBSD 1.0A", not "NetBSD 1.0a",
see OpenBSD ccdconfig(8).
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;