summaryrefslogtreecommitdiffstats
path: root/man.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-08 08:36:44 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-08 08:36:44 +0000
commitd0924326c0c8e754370d5d2d2142366c3a75ae70 (patch)
treef6e7eb3799bf9f4b01e6f4c70cbf361a3640630c /man.7
parentc10df4f63596660b1a585dd712a0778b88ec5874 (diff)
downloadmandoc-d0924326c0c8e754370d5d2d2142366c3a75ae70.tar.gz
Strip trailing, unescaped whitespace from free-form, non-literal lines (like groff).
Diffstat (limited to 'man.7')
-rw-r--r--man.711
1 files changed, 7 insertions, 4 deletions
diff --git a/man.7 b/man.7
index 5a3b22dc..a9733a11 100644
--- a/man.7
+++ b/man.7
@@ -126,10 +126,13 @@ and
.Sq \ef
attributes are forgotten when entering or exiting a macro block.
.Ss Whitespace
-Unless specifically escaped, consecutive blocks of whitespace are pruned
-from input. These are later re-added, if applicable, by a front-end
-utility such as
-.Xr mandoc 1 .
+In free-form lines, whitespace is preserved within a line; un-escaped
+trailing spaces are stripped from input (unless in a literal context).
+Blank free-form lines, which may include spaces, are permitted and
+rendered as an empty line.
+.Pp
+In macro lines, whitespace delimits arguments and is discarded. If
+arguments are quoted, whitespace within the quotes is retained.
.Ss Dates
The
.Sx \&TH