List not rendering correctly when preceded by word
augustelalande opened this issue · 1 comments
augustelalande commented
List are not rendering correctly when preceded by word or sentence.
For example:
list:
* item1
* item2
transcompiles to
<p>list:
* item1
* item2</p>
code to reproduce
html = markdown.markdown("""list:
* item1
* item2
""")
with open('out.html', 'w', encoding='utf-8', errors='xmlcharrefreplace') as f:
f.write(html)
I don't think this is intentional, but let me know if it is.
Downstream issue: astral-sh/ruff#10427
augustelalande commented
Nevermind duplicate of #1442