Loose list with code block inside

#1
1. ```
   code
   ```

   last line - end 

In commonmark.js, the last line is not inside a <p> tag. Base on spec. This is could be a loose list because a blank line between code block and last line.

If removed this order list, the last line is inside a <p> even without that blank line.

0 Likes

#2

Looks like a bug. Can you post an issue on the github tracker?

0 Likes

#3

Yes, I raised a bug in github.

0 Likes