summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/char
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/mandoc/char')
-rw-r--r--regress/usr.bin/mandoc/char/space/leading-mdoc.in10
-rw-r--r--regress/usr.bin/mandoc/char/space/leading-mdoc.out_ascii7
2 files changed, 17 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/char/space/leading-mdoc.in b/regress/usr.bin/mandoc/char/space/leading-mdoc.in
index 9b806cf18d2..171da4a0a73 100644
--- a/regress/usr.bin/mandoc/char/space/leading-mdoc.in
+++ b/regress/usr.bin/mandoc/char/space/leading-mdoc.in
@@ -12,3 +12,13 @@ second normal line
normal line after a macro line
.Ux
leading space after a macro line
+.Bd -literal
+normal line in a literal display
+ leading space in a literal display
+another normal line
+.Ed
+.Bd -filled
+normal line in a filled display
+ leading space in a filled display
+another normal line
+.Ed
diff --git a/regress/usr.bin/mandoc/char/space/leading-mdoc.out_ascii b/regress/usr.bin/mandoc/char/space/leading-mdoc.out_ascii
index eda38c67b4e..4a8f24ac622 100644
--- a/regress/usr.bin/mandoc/char/space/leading-mdoc.out_ascii
+++ b/regress/usr.bin/mandoc/char/space/leading-mdoc.out_ascii
@@ -8,3 +8,10 @@ DDEESSCCRRIIPPTTIIOONN
line with a leading space UNIX normal line after a macro line UNIX
leading space after a macro line
+ normal line in a literal display
+ leading space in a literal display
+ another normal line
+
+ normal line in a filled display
+ leading space in a filled display another normal line
+