Skip to content

Commit a5ed3e7

Browse files
committed
Don't auto format plaintext email templates
1 parent ffaaca4 commit a5ed3e7

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.prettierignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
**/package-lock.json
44

55
# Don't format plaintext email templates, the new lines are important
6-
src/lib/emails/*_text.svelte
6+
src/lib/emails/*_text.svelte
7+
src/lib/emails/*_text.hbs

src/lib/emails/welcome_email_text.hbs

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Welcome to
2-
{{{companyName}}}! This is a quick sample of a welcome email. You can customize
3-
this email to fit your needs. To unsubscribe, visit:
4-
{{{WebsiteBaseUrl}}}/account/settings/change_email_subscription
1+
Welcome to {{{companyName}}}!
2+
3+
This is a quick sample of a welcome email. You can customize this email to fit your needs.
4+
5+
To unsubscribe, visit: {{{WebsiteBaseUrl}}}/account/settings/change_email_subscription

0 commit comments

Comments
 (0)