Marked version:
4.0.6
Describe the bug
Every sublist item which is a multiple of 3 is wrapped with a <pre><code></code></pre> block. This issue is present in the 4.0.6(latest) version but not in 4.0.5.
To Reproduce
A hosted test case to reproduce this issue can be found in this CodePen Demo
Example markdown text to reproduce the bug:
1. list item one
1. sublist item one
2. sublist item two
2. list item two
1. sublist item one
2. sublist item two
3. list item three
1. sublist item one
2. sublist item two
4. list item four
1. sublist item one
2. sublist item two
Expected behavior
<pre><code></code></pre> should not appear in the sub list items.