PHP Dingus Fix

Adam McMaster adam at
Wed Sep 20 17:56:00 EDT 2006

On Tue, 2006-09-19 at 08:32 -0400, Michel Fortin wrote:

> Le 19 sept. 2006 à 7:05, Adam McMaster a écrit :


> > I've found a footnote-related bug. [...]

> >

> > And here's how it renders, with the subheading showing up in the

> > footnotes section at the end:


> I see this happening with a couple of elements of the Markdown

> syntax: they become part of the footnote definition whether they are

> indented or not. That's a bug I'll have to fix.

I've found a workaround for this bug, but have also encountered a new
one. Placing a HTML comment after the footnote definition fixes the
first problem. Now I've found that placing a footnote inside a list
causes them to be numbered out of order. E.g.:

This is the first paragraph.[^first]

[^first]: This is the first note.

<!-- footnote fix -->

* List item one.[^second]
* List item two.[^third]

[^second]: This is the second note.
[^third]: This is the third note.

This renders as:

This is the first paragraph.3

* List item one.1
* List item two.2

1. This is the second note. ↩

2. This is the third note. ↩

3. This is the first note. ↩

Adam McMaster <adam at>

More information about the Markdown-Discuss mailing list