We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73ef090 commit c3d9cc1Copy full SHA for c3d9cc1
firestore-send-email/functions/src/templates.ts
@@ -52,13 +52,13 @@ export default class Templates {
52
const data = doc.data();
53
const templates: TemplateGroup = {};
54
if (data.subject) {
55
- templates.subject = compile(data.subject);
+ templates.subject = compile(data.subject, { noEscape: true });
56
}
57
if (data.html) {
58
templates.html = compile(data.html);
59
60
if (data.text) {
61
- templates.text = compile(data.text);
+ templates.text = compile(data.text, { noEscape: true });
62
63
if (data.amp) {
64
templates.amp = compile(data.amp);
0 commit comments