aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2026-09-01 20:30:12 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2026-09-01 20:31:56 +0300
commit0895f4c973d1970c34a24936b0e3b0bc1cb0d304 (patch)
tree47aa463827e8c56bb4331f6b2a132bee44039f25 /data
parentstart work on 0.12.42 (diff)
downloadpkgcore-master.tar.gz
pkgcore-master.tar.bz2
pkgcore-master.zip
eclass: fix angle brackets, value escaping and blurb loss in man outputHEADmaster
docutils manpage writer wraps a reference in `<...>` whenever its refuri ends with the link text, but eclassdoc already writes its own brackets around maintainer and author addresses. Add the brackets only when the surrounding text lacks them, and drop the padding spaces that also stranded the bug URL. Variable values are rendered as emphasis with no escaping, so a value holding a `*` closed it early: `"=www-servers/apache-2*"` came out as `"=www-servers/apache-2"*`. `to_man()` suppressed the Name section, which the man header already carries, by setting `self.blurb = None`. EclassDoc is an AttrDict, so that shadowed the parsed value for good: a second `to_man()`, or any later `to_rst()`/`to_html()`/ `to_devbook()` on the same object, lost the blurb. Pass it as an argument instead. Resolves: https://github.com/pkgcore/pkgcore/issues/479 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions