CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2025/07/02 14:50:09

Modified files:
        usr.bin/mandoc : man_term.c 

Log message:
Fix the logic for printing or skipping vertical spacing before
a paragraph if the paragraph is at the beginning of an .RS block.
In this case, rather than always printing the spacing as we did in
the past, do the spacing as if the .RS block wouldn't be there.
The new behaviour is compatible with groff-1.23.

This matters for practical purposes because some LLVM manual pages
are generated with the rst2man(1) program, which emits insane code
in various respects.  In some versions, it relies on the finer quirks
of how .RS interacts with paragraph macros.

Reply via email to