Skip to content

Commit

Permalink
Don't auto format plaintext email templates
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Nov 3, 2024
1 parent ffaaca4 commit a5ed3e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
**/package-lock.json

# Don't format plaintext email templates, the new lines are important
src/lib/emails/*_text.svelte
src/lib/emails/*_text.svelte
src/lib/emails/*_text.hbs
9 changes: 5 additions & 4 deletions src/lib/emails/welcome_email_text.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Welcome to
{{{companyName}}}! This is a quick sample of a welcome email. You can customize
this email to fit your needs. To unsubscribe, visit:
{{{WebsiteBaseUrl}}}/account/settings/change_email_subscription
Welcome to {{{companyName}}}!

This is a quick sample of a welcome email. You can customize this email to fit your needs.

To unsubscribe, visit: {{{WebsiteBaseUrl}}}/account/settings/change_email_subscription

0 comments on commit a5ed3e7

Please sign in to comment.