Skip to content

Plaintext emails rendered from templates contain escaping #76475

@keeakita

Description

@keeakita

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Send any email using a text (not HTML) template, where one of the context variables being rendered contains special characters (&,<,>,',etc)

Expected Result

  1. Email renders as straightforward plaintext without any form of escaping

Actual Result

Email is rendered with inappropriate escaping that's not needed

Product Area

Other

Link

No response

DSN

No response

Version

No response

Metadata

Metadata

Assignees

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions