wordpress-micropub
wordpress-micropub copied to clipboard
First line of content always outside <p> tag
I'm noticing an odd behavior with multi-line input content: the first line is outside a <p> tag, then each following line is inside a <p> tag. @dshanske I assume that's not intentional, right?
For example, a request with h=entry&content=foo%0A%0Abar%0A%0Abaz (%0A is a URL-encoded newline) results in:
<div class="e-content">foo
<p>bar</p>
<p>baz</p>
</div>
Definitely not