Package: markdown
Version: 1.0.1-7
Severity: normal
Tags: upstream

Hello.

It seems that Markdown does not handle well a [foo bar][] link when a
newline happens to make its way into separating the two words inside the
square brackets. For an input file like:

-8<-
Bla, bla, bla, bla, bla, bla, bla, bla, bla, bla bla. This is [my
University][].

  [my university]: http://www.ua.es
->8-

The version in unstable, 1.0.1, will omit the link and leave the
brackets in place.

Things get a bit better with the version in unstable, 1.0.2~b8, with
which the output is:

-8<-
<p>Bla, bla, bla, bla, bla, bla, bla, bla, bla, bla bla. This is <a 
href="http://www.ua.es";>my
University</a>[].</p>
->8-

Almost what's desired, except that the second pair of brackets is left
in the output.

It'd be very nice if this could get fixed for 1.0.2.

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
Never let your sense of morals get in the way of doing what's right.
                -- Isaac Asimov



Reply via email to