Hello!
I noticed this behavior, which is not what I would have expected:
> (markdown.core/md-to-html-string "1. one\n2. two\n\n* three\n* four")
"<ol><li>one</li><li>two</li><li>three</li><li>four</li></ol>"
> (markdown.core/md-to-html-string "1. one\n2. two\n\n\n* three\n* four")
"<ol><li>one</li><li>two</li></ol><ul><li>three</li><li>four</li></ul>"
Most markdown parsers, as far as I can tell, will keep the ordered and unordered lists separate if there's even just a single newline between them.
Would you consider this a bug?
Hello!
I noticed this behavior, which is not what I would have expected:
Most markdown parsers, as far as I can tell, will keep the ordered and unordered lists separate if there's even just a single newline between them.
Would you consider this a bug?