diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
commit | d9f0f81c846a8405c29870e4a8379e5e79d1cad3 (patch) | |
tree | c07efd74ac58650949dc67576001a720e688319f /regress/char/space/nobreak.in | |
parent | cdbb1fca07752eb230e5219c22e9e65075c85b82 (diff) | |
download | mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.gz mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.zst mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.zip |
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this,
literally for years.
Diffstat (limited to 'regress/char/space/nobreak.in')
-rw-r--r-- | regress/char/space/nobreak.in | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/regress/char/space/nobreak.in b/regress/char/space/nobreak.in new file mode 100644 index 00000000..20bd19bd --- /dev/null +++ b/regress/char/space/nobreak.in @@ -0,0 +1,30 @@ +.Dd July 29, 2012 +.Dt SPACE-NOBREAK 1 +.Os OpenBSD +.Sh NAME +.Nm space-nobreak +.Nd non-breaking, non-collapsing space +.Sh DESCRIPTION +The following line has 78 characters and fits: +.Pp +78 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x +.Pp +The following line has 79 characters and breaks: +.Pp +79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x +.Pp +With a non-breaking space, it breaks earlier: +.Pp +79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x\~x +.Pp +The same with backslash-space: +.Pp +79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x\ x +.Pp +Only non-breaking spaces: +.Pp +79\~xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\~x\~x +.Pp +The same with backslash-space: +.Pp +79\ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ x\ x |