Bug using inline code blocks in nested lists?

John MacFarlane jgm at berkeley.edu
Fri Mar 18 13:54:03 EDT 2011


+++ Christian Spann [Mar 18 11 16:36 ]:

> Hi,

>

> I am generating a nice document with some inline code blocks and came

> around the following error:

>

> 1. asdf

> - \` asdf `` `asdf` ``

>

> produces:

>

> <ol>

> <li>asdf

> <ul><li>` asdf <code><code>asdf</code></code> </li></ul></li>

> </ol>

>

> instead of:

>

> <ol>

> <li>asdf

> <ul><li>` asdf <code>`asdf`</code> </li></ul></li>

> </ol>

>

> Am I missing something or is this a bug?


It's a bug. Try another implementation. You can see from
http://babelmark.bobtfish.net/ that many other implementations
parse this input correctly.

PS. Is babelmark still actively maintained? The versions of pandoc
and peg-markdown there are a couple of years old.

John


More information about the Markdown-Discuss mailing list