Closed aaronpk closed 9 months ago
This applies to any HTML:
<div class="h-entry"><div class="e-content"><p>Hello</p><p>World</p></div></div>
{
"data": {
"type": "entry",
"content": {
"text": "HelloWorld",
"html": "<p>Hello</p><p>World</p>"
},
"post-type": "note"
},
"url": "",
"code": null,
"source-format": "mf2+html"
}
Mastodon creates HTML that contains
...</p><p>...
and it is ending up wrong in the parsed result. It should add one or two newlines to the plaintext.