Package: discount
Version: 2.2.7-2
Severity: normal
Tags: upstream

See e.g.

  $ markdown
  [some link with parens in it](http://foo.com/parens(yeah))
  <p><a href="http://foo.com/parens(yeah">some link with parens in it</a>)</p>

The URI's closing parenthesis has been incorrectly moved outside of the
hyperlink, resulting in broken link and messy text.

The following markdown implementations get this right:

 * libtext-markdown-perl 1.000031 (debian -3) 
 * multimarkdown 1.000035 (debian -2)

Correct output is

  $ markdown
  [some link with parens in it](http://foo.com/parens(yeah))
  <p><a href="http://foo.com/parens(yeah)">some link with parens in it</a></p>


-- System Information:
Debian Release: 11.1
  APT prefers stable-security
  APT policy: (999, 'stable-security'), (990, 'stable'), (500, 
'stable-updates'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-6-amd64 (SMP w/24 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages discount depends on:
ii  libc6         2.32-4
ii  libmarkdown2  2.2.7-2

discount recommends no packages.

discount suggests no packages.

-- no debconf information

Reply via email to