[Python-modules-team] Bug#795998: URLs in field lists fail to parse

Yuri D'Elia wavexx at thregr.org
Tue Aug 18 14:19:11 UTC 2015


Package: python-docutils
Version: 0.12+dfsg-1
Severity: normal

Try to render the following with rst2html:

------>8------
:`link <url/>`: succeeds.
:`link <http://url/>`_: fails to parse due to nested ``:``.
:`link <http\://url>`_: parses, but fails later.
------8<------

Mostly self-explanatory: line 2 complains about unexpected unindent, but
actually fails to recognize that the first : is nested inside an inline
reference.

Line 3 is there only for completeness: I wouldn't expect the need for escaping
in this context.

Normal references do work, of course.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (800, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-docutils depends on:
ii  docutils-common  0.12+dfsg-1
ii  python-roman     2.0.0-1
pn  python:any       <none>

Versions of packages python-docutils recommends:
ii  docutils-doc     0.12+dfsg-1
ii  libpaper-utils   1.1.24+nmu4
ii  python-pil       2.9.0-1
ii  python-pygments  2.0.1+dfsg-1.1

Versions of packages python-docutils suggests:
ii  fonts-linuxlibertine [ttf-linux-libertine]  5.3.0-2
pn  texlive-lang-french                         <none>
ii  texlive-latex-base                          2015.20150810-1
ii  texlive-latex-recommended                   2015.20150810-1



More information about the Python-modules-team mailing list