Loose list with code block inside

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.

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

Yes, I raised a bug in github.