Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Code blocks in lists #23

Closed
cadorn opened this Issue · 2 comments

3 participants

@cadorn

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.