Here is the html result. Some observations:
* It unexpectedly nests a list
* Second item code is inline, inconsistent with other code blocks (and unexpected
<details>
```html
<ol>
<li><p>Defina</p>
<pre><code class="language-python">> greet_user("esteban")
</code></pre>
<ol>
<li>Dado
<code>python
resultado = simple()
</code></li>
</ol></li>
<li><p>Examine</p>
<pre><code class="language-python">def convertir_a_float(cadena):
</code></pre></li>
</ol>
If we remove the third item from the markdown list we get the following. Few observations:
First item info string escaping the code block? what?
Second item is still inline.
Now the second item is no longer a list item, The whole markdown content has been interpreted as a single list node. Not sure what could possibly be causing this...
Using blackfriday v2.1.0, default parameters
The following markdown has 3 list items.
Dado
Examine
If we remove the third item from the markdown list we get the following. Few observations:
python > greet_user("esteban")
11. Dadopython resultado = simple()
Something similar happens if we delete the first item of the list.
python resultado = simple()
12. Examinepython def convertir_a_float(cadena):
Please note the tabs in front of the code blocks have no effect on the bug.