Is there a good/recommended way to force consistent behavior (w.r.t. wrapping in
<p>...</p> tags) of markdownify, independent of whether its called on a single paragraph or multiple paragraphs of input?
Right now (in v0.29) single paragraphs are not enclosed in
<p>...</p>, while if there are multiple paragraphs each of them is. I’m open to any suggestions on how to deal with this when writing shortcodes not knowing whether to expect one or multiple paragraphs.
I read a couple of posts/discussions about this behavior, but didn’t find a solution.