Package: markdown
Version: 1.0.2~b8-2
Severity: normal

This markup here:

====== snip =========
# H1

## H2

* ### H3 list 1

  * ### H3 list 2

    Content of list 2

    * list 3
    * list 3

  * ### H3 list 2

====== snip =========

Will produce this html code:

====== snip =========
<h1>H1</h1>

<h2>H2</h2>

<ul>
<li><h3>H3 list 1</h3>

<ul><li>### H3 list 2</li></ul>

<p>Content of list 2</p>

<ul><li>list 3</li>
<li><p>list 3</p></li>
<li><h3>H3 list 2</h3></li></ul></li>
</ul>
====== snip =========

There are a few things markup gets wrong here:

* it fails to translate "### H3 list 2" to "<h3>H3 list 2</h3>"
* it fails to insert "Content of list 2" into the <ul><li> as it should

Is there some more correct markdown commandline implementation? Markdown.pl
seems to be get confused quite fast with a little bit more complicated markdown.

I've tried python-markdown, but AFAICS it's broken as well?
*t

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-34-generic (SMP w/2 CPU cores)
Locale: LANG=de_CH.utf8, LC_CTYPE=de_CH.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages markdown depends on:
ii  perl                   5.10.1-8ubuntu2.1 Larry Wall's Practical Extraction 

markdown recommends no packages.

markdown suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to