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

<p> and <br> stripped from html mail content #13

Open
JosiahCarberry opened this issue Sep 22, 2016 · 2 comments · Fixed by #18
Open

<p> and <br> stripped from html mail content #13

JosiahCarberry opened this issue Sep 22, 2016 · 2 comments · Fixed by #18

Comments

@JosiahCarberry
Copy link

The content of the email does not correctly display line breaks and paragraphs when sent as html (it is OK when sent as plain text). The problem occurs either when the email content is edited using the visual tab of the editor, or if it is edited using the text tab and html tags are manually introduced.
In the final email sent, all the

and
tags have been removed. However, other tags in the email, such as , are correctly left in place.

Woo Custom Email plugin version 2.0.6
WooCommerce version 2.6.4
Wordpress version 4.6.1

Note that the default Wordpress editor is being used. There is no problem with the default MooCommerce emails. There is no problem with the editor anywhere else in WordPress.

@TomasHurtz
Copy link

I also have the same issue.

This is just what I was looking for – however the email sent out does not seem to use the common WC email template – instead it appears to be just plain text with no line breaks and no header or footer.

What am I missing?

@mehulkaklotar
Copy link
Member

@ryanshoover thanks for the PR. I am releasing new version after testing on my end.

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

Successfully merging a pull request may close this issue.

3 participants