Code review comment for lp:~daker/launchpad/fix.1600499

Colin Watson (cjwatson) wrote :

Thanks for the patch.

These were previously plain-text emails sent to non-Gmail users as well. Dumping HTML-like markup into the start of them without even a Content-Type change is not going to look good at all to anyone who doesn't use Gmail; and I would be wary of making them anything other than text/plain anyway.

Can you point to the specification for this actions markup? We need to find some approach that's a bit less horribly intrusive, if indeed it's worth doing. As a last resort it may require a new PersonSettings column, but it will depend on what options the spec affords us. For example, if it were possible to do this by way of additional message headers, that would be *much* better than dumping JSON into the message body.

Whatever approach ends up being workable, this needs to include tests.

review: Needs Fixing

« Back to merge proposal