CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2026/09/09 12:28:29

Modified files:
        usr.bin/mandoc : roff.c 
        regress/usr.bin/mandoc/tbl/data: empty.out_ascii 

Log message:
Render an empty tbl(7) table as an output line break and not
as a 1v vertical space like in groff-1.22.4 because groff-1.23
stopped emitting vertical space around tables in general.

G. Branden Robinson agrees that this new behaviour probably makes
the most sense and that groff_man(7) and groff_mdoc(7) should
probably follow in the future by having .TS imply .br, even though
from groff-1.23.0 to groff-1.25.0, yet another behaviour was
implemented, where an empty table printed nothing whatsoever,
not even an output line break.

While here, modernise the code in roff_TE() by using the
internal node creation API from "roff_int.h" rather than
the old, heavy-handed ROFF_REPARSE method.

Small formatting issue found while working on
regression tests for the fix of a bug found by
Hippolyte Doncieu de la Batie <[email protected]>.

Reply via email to