Howdy,

[Please preserve the CC to [EMAIL PROTECTED] on any
replies.]

The following bug in Markdown was reported to the Debian bug tracking
system.  In short, running both the released version of Markdown and
the latest beta on

 * foo
 > bar
 > baz

produces invalid HTML.

----- Forwarded message from Joey Hess <[EMAIL PROTECTED]> -----

From: Joey Hess <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: Bug#424919: generates invalid html for a list element immediately 
followed by a quote
Date: Thu, 17 May 2007 16:07:35 -0400
X-Spam-Status: No, hits=-8.5 required=4.0 tests=BAYES_00,FROMDEVELOPER,
        HAS_PACKAGE,HTML_MESSAGE,RCVD_IN_SORBS autolearn=ham 
        version=2.60-bugs.debian.org_2005_01_02

Package: markdown
Version: 1.0.1-6
Severity: normal

[EMAIL PROTECTED]:~>cat foo
* foo
> bar
> baz
[EMAIL PROTECTED]:~>markdown foo
<p><ul>
<li>foo</p>

<blockquote>
  <p>bar
  baz</li>
  </ul></p>
</blockquote>

Notice that the closing tags are not in the right order..

If a newline is added before the quote, it closes the list before starting
the blockquote, so that's a workaround.

(This also happens with markdown 1.0.2~b8-1)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-686 (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/bash

Versions of packages markdown depends on:
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

markdown recommends no packages.

-- no debconf information

-- 
see shy jo



----- End forwarded message -----

-- 
Matt
_______________________________________________
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to