summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-02-17 17:43:05 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-02-17 17:43:05 +0000
commit1a74264f19a2ec60917127262ae011c912a23fd9 (patch)
treece121bd46a6ed137a7d49e88f2bebf8b4361f1e9 /regress/usr.bin
parentfca2bcd440e2ed79cabd7e577cafaa342a79310c (diff)
more tests for .IP/.nf interaction that i forgot to commit
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/mandoc/man/IP/literal.in40
-rw-r--r--regress/usr.bin/mandoc/man/IP/literal.out_ascii31
2 files changed, 69 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/man/IP/literal.in b/regress/usr.bin/mandoc/man/IP/literal.in
index 468f1a918bc..111ec79b044 100644
--- a/regress/usr.bin/mandoc/man/IP/literal.in
+++ b/regress/usr.bin/mandoc/man/IP/literal.in
@@ -6,8 +6,27 @@ regular
text
.IP tag 10n
indented
+regular
text
.PP
+new
+regular
+paragraph
+.nf
+literal
+text
+.IP tag 10n
+indented
+literal
+text
+.PP
+new
+literal
+paragraph
+.fi
+regular
+text
+.SS literal into indented paragraph
regular
text
.nf
@@ -15,10 +34,31 @@ literal
text
.IP tag 10n
indented
+literal
+text
+.fi
+indented
+regular
text
.PP
+new
+regular
+paragraph
+.SS literal out of indented paragraph
+regular
+text
+.IP tag 10n
+indented
+regular
+text
+.nf
+indented
literal
text
+.PP
+new
+literal
+paragraph
.fi
regular
text
diff --git a/regress/usr.bin/mandoc/man/IP/literal.out_ascii b/regress/usr.bin/mandoc/man/IP/literal.out_ascii
index f7e9bb8d603..db020a5ecd3 100644
--- a/regress/usr.bin/mandoc/man/IP/literal.out_ascii
+++ b/regress/usr.bin/mandoc/man/IP/literal.out_ascii
@@ -8,17 +8,44 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
regular text
- tag indented text
+ tag indented regular text
- regular text
+ new regular paragraph
literal
text
tag indented
+ literal
text
+ new
+ literal
+ paragraph
+ regular text
+
+ lliitteerraall iinnttoo iinnddeenntteedd ppaarraaggrraapphh
+ regular text
literal
text
+
+ tag indented
+ literal
+ text
+ indented regular text
+
+ new regular paragraph
+
+ lliitteerraall oouutt ooff iinnddeenntteedd ppaarraaggrraapphh
+ regular text
+
+ tag indented regular text
+ indented
+ literal
+ text
+
+ new
+ literal
+ paragraph
regular text