[Pkg-haskell-maintainers] Bug#687453: pandoc: Does not support spaces between () and [] for markdown-style hyperlinks

Axel Beckert abe at debian.org
Wed Sep 12 20:42:24 UTC 2012


Package: pandoc
Version: 1.9.4.2-2
Severity: minor

Dear Maintainer,

the Markdown hyperlink syntax definition explicitly states "You can
optionally use a space to separate the sets of brackets", but pandoc's
Markdown interpreter does not parse such hyperlink definitions.

Example: "[foo] (bar)" get's rendered as "[foo] (bar)" in HTML and
man/roff output while "[foo](bar)" gets rendered properly as "foo (bar)"
or '<a href="bar">foo</a>'.

The same problem arises if there's a line break between the two
bracket pairs, e.g.

(foo)
[bar]

(which is at least rendered as link by GitHub's Markdown parser, but not
explicitly stated in the original definition.)

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (400, 'stable'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5-trunk-amd64 (SMP w/1 CPU core)
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 pandoc depends on:
ii  libbibutils2  4.12-5
ii  libc6         2.13-35
ii  libffi5       3.0.10-3
ii  libgmp10      2:5.0.5+dfsg-2
ii  libpcre3      1:8.30-5
ii  zlib1g        1:1.2.7.dfsg-13

Versions of packages pandoc recommends:
pn  libghc-citeproc-hs-data  <none>

Versions of packages pandoc suggests:
ii  texlive-latex-recommended  2012.20120611-4
ii  texlive-luatex             2012.20120611-4
ii  texlive-xetex              2012.20120611-4

-- no debconf information



More information about the Pkg-haskell-maintainers mailing list