Code blocks in lists #23

Closed
cadorn opened this Issue Jul 23, 2011 · 2 comments

Projects

None yet

3 participants

@cadorn
Contributor
cadorn commented Jul 23, 2011

Code blocks in lists do not work. Example:

This is a paragraph:

  * **Heading 1**

    Paragraph.

        JavaScript();

  * **Heading 2**

    Paragraph.

        JavaScript();

        JavaScript();

    Paragraph.

I took a look at the code but that part is pretty involved. Hoping someone more familiar with it can fix it.

@kragen
kragen commented Jul 28, 2011

Here's a minimal case; none of the funky bullet indents, additional list items, or invalidly-nested header tags are needed to reproduce:

* Heading 1

    Paragraph.

        JavaScript();

If the "Paragraph." is removed, the code block parses correctly — but only the first one. In this case, the second code block still fails:

* Heading 1

        JavaScript();

        JavaScript();

I haven't looked at the parsing of this case yet.

@evilstreak
Owner

Fixed in 340046a.

@evilstreak evilstreak closed this Apr 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment