CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2018/11/26 10:44:29
Modified files:
usr.bin/mandoc : roff.c
regress/usr.bin/mandoc/roff/cond: close.in close.out_ascii
close.out_lint
Log message:
When a conditional block is closed by putting "\}" on a text line
by itself (which is somewhat unusual but not invalid; most authors
use the empty macro line ".\}" instead), agree more closely with
groff and do not produce a double space in the output.
Quirk reported by millert@.
While here, tweak the rest of the function body of roff_cond_text()
to more closely match roff_cond_sub(). The subtly different handling
could make people (including myself) wonder whether there is any
point in being different. Testing shows there is not.