I think this should be fixed in Discourse as well, just in case posts are made by a non-wordpress integration. To summarise:
-
I posted
<p><img src="..."/></p>
. This is perfectly valid HTML -
pull_hotlinked_images
fetched the image, and replaced the markup with<p></p>
-
This does not render
So there are two possible fixes here. Either:
- We fix InlineUploads so that it adds a blank line in the markup. This renders fine:
<p>  </p>
OR
- We fix the markdown engine to render
<p></p>
. Note that this does not render in the commonmark demo either.
@sam do you know if there’s a deliberate reason that markdown images won’t render on the same line as a <p>
?