summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/mdoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-02-16 12:30:53 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-02-16 12:30:53 +0000
commitfad7287310f0636736ec51e3fbb38efde4b0c9ac (patch)
treece739578c1c02dfc9a4e766ac62a45cf53e719bd /regress/usr.bin/mandoc/mdoc
parent98d08516ac58b143885b44ed3da630ce3287bec1 (diff)
when indenting, extend the right margin accordingly, when needed;
fixes a crash reported by blambert@ and a few other, similar ones
Diffstat (limited to 'regress/usr.bin/mandoc/mdoc')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Bl/tag.in6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Bl/tag.out_ascii5
2 files changed, 9 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Bl/tag.in b/regress/usr.bin/mandoc/mdoc/Bl/tag.in
index bbf12de82d7..df16b629c3c 100644
--- a/regress/usr.bin/mandoc/mdoc/Bl/tag.in
+++ b/regress/usr.bin/mandoc/mdoc/Bl/tag.in
@@ -1,4 +1,4 @@
-.Dd May 19, 2013
+.Dd February 16, 2014
.Dt BL-TAG 1
.Os OpenBSD
.Sh NAME
@@ -37,6 +37,10 @@ x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
.It zehn_ zehn
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
.El
+.Bl -tag -width 100n
+.It hundred
+text text
+.El
.Pp
Trailing white space in the head:
.Bl -tag -width 5n
diff --git a/regress/usr.bin/mandoc/mdoc/Bl/tag.out_ascii b/regress/usr.bin/mandoc/mdoc/Bl/tag.out_ascii
index 930c7281e8b..8cff8ee53cf 100644
--- a/regress/usr.bin/mandoc/mdoc/Bl/tag.out_ascii
+++ b/regress/usr.bin/mandoc/mdoc/Bl/tag.out_ascii
@@ -33,6 +33,9 @@ DDEESSCCRRIIPPTTIIOONN
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
x x x x x x x
+ hundred text
+ text
+
Trailing white space in the head:
a b
@@ -59,4 +62,4 @@ DDEESSCCRRIIPPTTIIOONN
second paragraph
-OpenBSD May 19, 2013 OpenBSD
+OpenBSD February 16, 2014 OpenBSD