Email Formatting Issue – Extra Blank Lines Appearing
-
I am experiencing an issue with Contact Form 7 where extra blank lines appear in the emails sent from my form. It seems that the plugin is not properly handling HTML formatting.
- When using tables (
<table>
), rows (<tr>
), and cells (<td>
), divs etc…, the email output contains unwanted blank lines. - When I remove
<p>
and<br>
tags, the email still has blank lines - The extra blank lines are disrupting the email layout and making it unreadable.
- It looks like that the problem is that CF7 showcases every HTML line, as a blank line in the email.
Example:
i have a < div style=”border: 1px solid #e30613; padding: 1em; margin-bottom: 1em;” > line
in the mail, this is a blank line. I have alot of HTML in my mail, so theres ALOT of blank lines.
Before the last update, i had no issues with my code, and every mail was perfect.
- When using tables (
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.