andialbrecht / sentry-comments

Comment extension for Sentry.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notification emails are text/plain but contain HTML markup

mgedmin opened this issue · comments

Steps to reproduce:

  1. Add a comment containing some text with an apostrophe, e.g. "but this can't possibly happen!"

What should happen: I get an email notification that says

but this can't possibly happen!

What actually happens: I get an email notification that has one text/plain MIME part with the following text:

but this can't possibly happen!

I see that < and > are also HTML-escaped unnecessarily.