diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-12-20 03:38:11 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-12-20 03:38:11 +0000 |
commit | 62db8a6a0ba28c100a89a668942742adaf75389d (patch) | |
tree | 973835d7a6ac26c105b04a85ff8de99ece98adb3 /regress/usr.bin/mandoc | |
parent | 9f78990d7f240fd1aca4e8ebed087da9bb1acef1 (diff) |
Bugfix:
When after a \\, \t, or \a, another \t or \a had to be resolved
in copy mode within the same argument, the argument got corrupted.
Found while working on a loosely related bug report
from Fabio Scotoni <fabio at esse dot ch>.
Diffstat (limited to 'regress/usr.bin/mandoc')
-rw-r--r-- | regress/usr.bin/mandoc/char/space/esct-man.in | 6 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/char/space/esct-man.out_ascii | 3 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/char/space/esct-man.out_lint | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/regress/usr.bin/mandoc/char/space/esct-man.in b/regress/usr.bin/mandoc/char/space/esct-man.in index 524155f0e6b..5b886958c48 100644 --- a/regress/usr.bin/mandoc/char/space/esct-man.in +++ b/regress/usr.bin/mandoc/char/space/esct-man.in @@ -1,5 +1,5 @@ -.\" $OpenBSD: esct-man.in,v 1.3 2018/12/15 19:30:19 schwarze Exp $ -.TH SPACE-ESCT-MAN 1 "December 15, 2018" +.\" $OpenBSD: esct-man.in,v 1.4 2018/12/20 03:38:10 schwarze Exp $ +.TH SPACE-ESCT-MAN 1 "December 20, 2018" .SH NAME SPACE-T-MAN \- the t escape sequence in pages with man macros .SH DESCRIPTION @@ -45,3 +45,5 @@ After font macros: .\" XXX not implemented .\" .br .\" .B single\aleader +.br +.B double\t\ttab diff --git a/regress/usr.bin/mandoc/char/space/esct-man.out_ascii b/regress/usr.bin/mandoc/char/space/esct-man.out_ascii index 3056cc72dde..89e419173c9 100644 --- a/regress/usr.bin/mandoc/char/space/esct-man.out_ascii +++ b/regress/usr.bin/mandoc/char/space/esct-man.out_ascii @@ -34,7 +34,8 @@ DDEESSCCRRIIPPTTIIOONN After font macros: ssiinnggllee ttaabb + ddoouubbllee ttaabb -OpenBSD December 15, 2018 SPACE-ESCT-MAN(1) +OpenBSD December 20, 2018 SPACE-ESCT-MAN(1) diff --git a/regress/usr.bin/mandoc/char/space/esct-man.out_lint b/regress/usr.bin/mandoc/char/space/esct-man.out_lint index 2fa8ba9c410..f94f50bb930 100644 --- a/regress/usr.bin/mandoc/char/space/esct-man.out_lint +++ b/regress/usr.bin/mandoc/char/space/esct-man.out_lint @@ -4,3 +4,5 @@ mandoc: esct-man.in:14:8: WARNING: tab in filled text mandoc: esct-man.in:34:11: WARNING: tab in filled text mandoc: esct-man.in:36:11: WARNING: tab in filled text mandoc: esct-man.in:44:10: WARNING: tab in filled text +mandoc: esct-man.in:49:10: WARNING: tab in filled text +mandoc: esct-man.in:49:11: WARNING: tab in filled text |