Br tags added in email
-
I have issues with html emails, when sent many <br> tags are added, making the email very ugly.
After some research i found out it happens when calling filterEmail() function (classes/base.php)
At first i resolved it by removing “nl2br()” from the return, but then i saw that i couldn’t add new lines anymore.
So i then figured that i need to write the html code into the “text” part of the editor with no new lines between html tags except the actual text, but if for error or to preview i click on the “Visual” when i go back to “Text” wordpress put the new lines after every tag, and i have to remove them once again.Is there a way to make it more user friendly?
Thank you
- The topic ‘Br tags added in email’ is closed to new replies.