Ampersands getting over-escaped going from Wordpress to Discourse?

When WordPress articles have an & in the title, like

they land on our Discourse site with an HTML entity & instead:

Entities like this don’t seem to get rendered in titles.

I see that there is a title fancy entities setting in Discourse, and that this is enabled by default. But that seems like the opposite problem — the entity is there, but isn’t getting rendered.

Is there a config setting I should change here? Or is there a bug? Or … something else?

Thanks for the report Matt. I’m investigating this.

Thanks again Matt, this will be fixed in the next version of the WP Discourse plugin (2.5.2).

https://github.com/discourse/wp-discourse/pull/504

Hey @Festinger, could I first confirm:

  1. Which version of the plugin you’re running.
  2. What you mean by the “same issue”. Could you describe exactly what happened or share a link to a live example. The issue in this topic is not present in the link you shared.

Thanks!

Thanks that’s helpful! Yours is in fact a slightly different issue insofar as it’s not an ampersand, but an en-dash. I understand that may not seem like a difference, however in this case it is, see further:

I’ll put a fix for this additional encoding issue in the next version.

There hasn’t been a release yet. Hang tight.