emfcamp / Website

The Electromagnetic Field web site
http://www.emfcamp.org
GNU Affero General Public License v3.0
41 stars 84 forks source link

Make all emails HTML #977

Open marksteward opened 2 years ago

marksteward commented 2 years ago

Plain text is so last decade.

russss commented 10 months ago

I was idly wondering how easy it would be to do this as the emails are pretty ugly, but making the plaintext alternative is a bit annoying.

I think I'm happy writing these emails in Markdown and having the Markdown be the plaintext alternative, but if you substitute variables into the Markdown and then render the Markdown to HTML, you have an HTML injection issue. I don't want to keep two different templates in sync and I don't think it's plausible to render the markdown template to HTML first? I guess maybe it might be?