Up to [cvsweb.bsd.lv] / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: HEAD
Revision 1.246 / (download) - annotate - [select for diffs], Wed Jul 2 20:50:14 2025 UTC (3 days, 4 hours ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.245: +12 -10 lines
Diff to previous 1.245 (unified)
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.