diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-08 08:36:44 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-08 08:36:44 +0000 |
commit | d0924326c0c8e754370d5d2d2142366c3a75ae70 (patch) | |
tree | f6e7eb3799bf9f4b01e6f4c70cbf361a3640630c /man.7 | |
parent | c10df4f63596660b1a585dd712a0778b88ec5874 (diff) | |
download | mandoc-d0924326c0c8e754370d5d2d2142366c3a75ae70.tar.gz |
Strip trailing, unescaped whitespace from free-form, non-literal lines (like groff).
Diffstat (limited to 'man.7')
-rw-r--r-- | man.7 | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 |