diff options
author | 2010-08-21 14:04:13 +0000 | |
---|---|---|
committer | 2010-08-21 14:04:13 +0000 | |
commit | f1232e5b3159f0031b602a57396737bd1f75b35f (patch) | |
tree | a783680da11f6c74aad93547789c7169c5ae396b /main.c | |
parent | bd1f33663109650ff780168b923581e7d15e30a8 (diff) | |
download | mandoc-f1232e5b3159f0031b602a57396737bd1f75b35f.tar.gz mandoc-f1232e5b3159f0031b602a57396737bd1f75b35f.tar.zst mandoc-f1232e5b3159f0031b602a57396737bd1f75b35f.zip |
Backout previous.
As Kristaps found out, i was wrong: .Bl -column phrases do not ignore
spacing rules for trailing punctuation in general. In particular,
- the rightmost column of a column list is unaffected
- columns terminated by the .Ta macro instead of a tab are unaffected
- columns ending in a blank are unaffected
Spacing rules for trailing punctuation are only ignored when the tab
follows the punctuation immediately, without a blank in between,
because then the combination of punctuation and tab is treated by roff
as a word, and the punctuation is not recognized as isolated.
The reason this doesn't work in mandoc is that in the special case
of .Bl -column (not in general!), mandoc treats tabs as word delimiters.
We either need to solve this differently, or call it a bug in roff.
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions