Package: markdown
Version: 1.0.2~b7-2
Severity: important

This is a test case that I derived from a much larger page in ikiwiki
that was failing to validate when built with this version of markdown.
The old version of markdown generates valid html for the same input.

[EMAIL PROTECTED]:~>cat foo
<div class="inlinepage">
<div class="toggleableend">
foo
</div>
</div>
[EMAIL PROTECTED]:~>markdown foo
<div class="inlinepage">
<div class="toggleableend">
foo
</div>

<p></div></p>

Note that the bug only happens if two divs have an attribute. If one
is literally just "<div>", the bug does not appear.. 

Given how important nested divs can be to css-friendly layout, this is a
pretty bad bug. :-/

-- 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

Attachment: signature.asc
Description: Digital signature

Reply via email to