[Python-modules-team] Bug#964152: rst2man: rubric + list = misplaced ".INDENT 0.0"
Jakub Wilk
jwilk at jwilk.net
Thu Jul 2 18:14:47 BST 2020
Package: python3-docutils
Version: 0.16+dfsg-2
Control: affects -1 + borgbackup
If you put an itemized list right after a rubric, rst2man misplaces the
.INDENT macro invocation:
$ printf '.. rubric:: foo\n\n- bar\n' > test.rst
$ rst2man test.rst > test.1
$ man -l test.1 | grep -E 'foo|bar'
- foo.INDENT 0.0
• bar
This was observed in the wild in the borg(1) man page.
-- System Information:
Architecture: i386
Versions of packages python3-docutils depends on:
ii docutils-common 0.16+dfsg-2
ii python3-roman 2.0.0-4
ii python3 3.8.2-3
--
Jakub Wilk
More information about the Python-modules-team
mailing list