diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-07-18 16:51:51 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-07-18 16:51:51 +0000 |
commit | 8d7a215891400352b4a84610bedd45eee32d7c01 (patch) | |
tree | 07d1238c040803106836518aeaf833ab835e65da /regress/usr.bin/mandoc/man | |
parent | 70377ff8dda512b7f705e0999e00dbd173c65803 (diff) |
Drop empty .IP such that is does not cause additional vertical spacing.
Issue first reported by naddy@ in rsync(1).
Diffstat (limited to 'regress/usr.bin/mandoc/man')
-rw-r--r-- | regress/usr.bin/mandoc/man/IP/Makefile | 4 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/IP/empty.in | 26 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/man/IP/empty.out_ascii | 26 |
3 files changed, 54 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/man/IP/Makefile b/regress/usr.bin/mandoc/man/IP/Makefile index a0a3475501b..13541b0eaec 100644 --- a/regress/usr.bin/mandoc/man/IP/Makefile +++ b/regress/usr.bin/mandoc/man/IP/Makefile @@ -1,5 +1,5 @@ -# $OpenBSD: Makefile,v 1.5 2011/11/17 16:28:45 schwarze Exp $ +# $OpenBSD: Makefile,v 1.6 2012/07/18 16:51:50 schwarze Exp $ -REGRESS_TARGETS=literal spacing width manyargs +REGRESS_TARGETS = literal spacing width manyargs empty .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/man/IP/empty.in b/regress/usr.bin/mandoc/man/IP/empty.in new file mode 100644 index 00000000000..42afeefa0fe --- /dev/null +++ b/regress/usr.bin/mandoc/man/IP/empty.in @@ -0,0 +1,26 @@ +.TH IP-EMPTY 1 "July 17, 2012" OpenBSD +.SH NAME +IP-empty \- empty indented paragraphs +.SH DESCRIPTION +regular +text +.IP +indented +text +.PP +Empty IP is deleted: +.IP +.IP tag1 10n +.IP tag2 +indented +text +.PP +Empty IP is deleted, RS does not cause additional spacing: +.IP +.RS +.IP tag +indented +text +.RE +regular +text diff --git a/regress/usr.bin/mandoc/man/IP/empty.out_ascii b/regress/usr.bin/mandoc/man/IP/empty.out_ascii new file mode 100644 index 00000000000..1a17d351f2d --- /dev/null +++ b/regress/usr.bin/mandoc/man/IP/empty.out_ascii @@ -0,0 +1,26 @@ +IP-EMPTY(1) OpenBSD Reference Manual IP-EMPTY(1) + + + +NNAAMMEE + IP-empty - empty indented paragraphs + +DDEESSCCRRIIPPTTIIOONN + regular text + + indented text + + Empty IP is deleted: + + tag1 + + tag2 indented text + + Empty IP is deleted, RS does not cause additional spacing: + + tag indented text + regular text + + + +OpenBSD July 17, 2012 IP-EMPTY(1) |