Run-together markdown formatting mixed with html makes images not load

Hey @mattdm,

Could you share a link to the original WP post and the Discourse post with the excerpt if they’re published publicly?

The WP Discourse plugin essentially just passes whatever HTML it finds in the WP post to Discourse, which then processes it for inclusion in the Discourse post. So how HTML is displayed in snippets of Wordpress posts in Discourse comes down two things

  1. The original structure of the HTML in Wordpress (for example)
  2. How Discourse’s markdown parser parses HTML for display in Discourse posts (for example).

So it’s either going to be Wordpress HTML structural question, which is essentially something outside of WP Discourse or Discourse itself, or largely a question of opinion on what a HTML parser should do, albeit sometimes there’s a clear improvement that can be made on that front.

That said, it’s sometimes fruitful to explore the parsing weeds here, so if you have more details about HTML structure of the WP Post, do share and I’ll investigate further :slight_smile: