[Python-modules-team] Bug#714880: inline references are not resolved

Yuri D'Elia yuri.delia at eurac.edu
Wed Jul 3 19:36:29 UTC 2013


Package: python-docutils
Version: 0.10-3
Severity: minor

See the attached test case, pasted here for reference:

`a <b_>`_

... _b: http://example.com/

`a <b_>`_ is an inline reference to b_, which is an external reference to
http://example.com/. The purpose of this concoction is to have a link while
changing its anchor text.  Example:

`a link to <python_>`_.

... _python: http://www.python.org/

Which should produce "a link to http://www.python.org/".

This is actually documented in the RST reference:

http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#embedded-uris-and-aliases

But it doesn't work. bug.rst produces a bogus link to "b_" using rst2html.

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

Kernel: Linux 3.9-1-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

Versions of packages python-docutils depends on:
ii  docutils-common  0.10-3
ii  python           2.7.5-2
ii  python-roman     1.4.0-2
ii  python-support   1.0.15

-- no debconf information
-------------- next part --------------
`a <b_>`_ b_

... _b: c


More information about the Python-modules-team mailing list