Hi,
Using Mailer in CBSubs, I have extra line breaks inserted in any email set to be sent as HTML. But if I comment out the line you mention in LegacyComprofilerFunctions.php, everything looks as I'd expect.
I'm not inserting any preliminary code, but the source of both the extra-spacing emails and the correct emails shows this at the top:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB" lang="en-GB" dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
<body>
The exact same email used to work for years, but I haven't been testing it and it looks like the extra spacing started appearing about one year ago.
Is there anything I should be doing to prevent this without commenting out that line? I'm leery of what it will do to non-CBSubs CB emails, and of course I'd like not to have to remember to comment it out after updates.
Thanks for any education and help!