Definitely some quirky behaviour in this and your other recent quote/list-related bug report.
That said, Markdown in general is quirky about paragraph formatting and new lines… it may be a good idea to provide a nice space between these kinds of “blocks” of text. Still, I’m sure Obsidian could parse these examples better.