# HTML Entities and escape characters in text/plain outgoing email alternative

**URL:** <https://meta.discourse.org/t/html-entities-and-escape-characters-in-text-plain-outgoing-email-alternative/290637>\
**Category:** Bug\
**Created:** [January 5, 2024, 4:04pm UTC](https://meta.discourse.org/t/html-entities-and-escape-characters-in-text-plain-outgoing-email-alternative/290637 "2024-01-05T16:04:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![strk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/strk/32/121193_2.png) [@strk](https://meta.discourse.org/u/strk)\
**Post date:** [January 5, 2024, 4:04pm UTC](https://meta.discourse.org/t/html-entities-and-escape-characters-in-text-plain-outgoing-email-alternative/290637/1 "2024-01-05T16:04:08Z")

</div>

We recently setup an experimental Discourse instance and noticed that the posts sent to watchers contain HTML entities in the text/plain alternative version of them. Sounds like a bug to me.

The instance is here: [https://discourse.osgeo.org](https://discourse.osgeo.org)  
Screenshot of one such email can be seen here: [Sandro Santilli 🌍 GIS: "@pmusaraj@mstdn.ca I can tell, and that hurts! @D…" - Mapstodon.Space](https://mapstodon.space/@strk/111704156837762875)  
The compete email can be read from discourse itself here: [PSC Vote: Let's move this list to discourse - #11 by Martin\_Spott - SAC mailing list - OSGeo Discourse](https://discourse.osgeo.org/t/psc-vote-lets-move-this-list-to-discourse/6528/11?u=strk)  
And another view of the email can be read on the Mailman archive, which is how it reached Discourse: [PSC Vote: Let's move this list to discourse](https://lists.osgeo.org/pipermail/sac/2024-January/016417.html)

The mail received by Mailman to subscriber is ONLY text/plain 7bit us-ascii but the one received via Discourse becomes multi-part and also has an HTML version which is obviously made up as the original poster did not write in HTML

---

_[View the full topic](https://meta.discourse.org/t/html-entities-and-escape-characters-in-text-plain-outgoing-email-alternative/290637)._
