Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email template issues (when using style tags) #962

Open
nielsdrost7 opened this issue Jul 20, 2023 · 2 comments
Open

Email template issues (when using style tags) #962

nielsdrost7 opened this issue Jul 20, 2023 · 2 comments

Comments

@nielsdrost7
Copy link
Contributor

nielsdrost7 commented Jul 20, 2023

Steps to reproduce

  1. Login then go to Settings > Email Templates
  2. Click New
  3. Enter a title "Test"
  4. Enter a body:
<style>
p {
  font-size: 20px;
}
</style>
<p>This is a test</p>
  1. Click Save
  2. Open any invoice
  3. Click Options > Send Email
  4. Select Email Template dropdown > Click "Test" email template you created in steps 1-5.
  5. Notice that email template is not copied into "Body"

Removing the <style> tag from the email template makes everything work properly again.

Originally posted by @bminer in #748 (comment)

@Nathanwoodburn
Copy link

G'day,
Is there any plan to allow style tags?

@nielsdrost7
Copy link
Contributor Author

@Nathanwoodburn no plans just yet, but we're open to pull-requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants