peopledoc / django-mail-factory

Django Mail Manager
Other
72 stars 17 forks source link

HTML-escape raw message in preview #84

Open dougkeen opened 6 years ago

dougkeen commented 6 years ago

Previously, when previewing a raw email message, content like <email@host.com> would be interpreted as an invalid html tag and wouldn't be rendered. This change properly html escapes the raw message data so it'll display properly in the browser.