[Python-modules-team] Bug#944331: debian-policy: Spurious space after dash in plain text output

Dmitry Shachnev mitya57 at debian.org
Tue Nov 26 16:33:28 GMT 2019


Control: forwarded 944330 https://github.com/sphinx-doc/sphinx/issues/6867
Control: forwarded -1 https://github.com/sphinx-doc/sphinx/issues/6867

On Sun, Nov 17, 2019 at 11:19:43AM -0800, Russ Allbery wrote:
> Guillem Jover <guillem at debian.org> writes:
>
> > Noticed the following instances of spurious spaces after a dash, while
> > skimming over the plain text policy document:
>
> This seems to be some sort of bug in Sphinx, possibly in its override of
> textwrap.TextWrapper.  I can't reproduce this problem with TextWrapper
> directly.  Reassigning to Sphinx.

This issue seems to be closely related to #944330. When processing a
footnote, Sphinx wraps text (which leads to the word being split by hyphen),
then joins it by space (so the space gets added after the hyphen) and wraps
again.

I have filed a bug upstream, and marking both bugs as forwarded to it.

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20191126/c7e7fdb2/attachment.sig>


More information about the Python-modules-team mailing list