Content stripped out of email
- July 30, 2015
- 1 reply
- 2180 views
Anyone else encountered this issue? We had an email template that was working fine up until the other day when it was sent out with a big chunk of the content missing. After a half hearted effort from Marketo support suggested it was a CSS error, I did a bit more digging and discovered that the cause was the fact that anything following ### on a line of html was suddenly being stripped out of the email message when it was sent by Marketo. So the content looked fine in the web preview, it was just the actual send process within Marketo which was removing content.
I recreated the issue by creating a template from scratch and using the string ### in several places and it had the same results.
See below, I've pasted the source of the template and attached a screen shot of how the message looks in the web preview and then how it looks when actually sent. Funny that Marketo thought this could be a CSS issue...
It would pay to double check your emails are coming out as expected, as ### is a common strong to be put in comments of email templates to highlight changes in sections and since Marketo seem to have no idea of this "functionality" it may also be that other strings are now mysteriously being stripped out.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Your Email Title</title>
</head>
<body>
<div style="font: 14px helvetica; width: 100%" class="mktEditable" id="edit_text">
Click HTML Source above to insert HTML<br />
This is some content<br />
<!-- this is a comment with some hashes ### this is content following three hashes -->
This is some content following the comment with hashes in it.<br />
<!-- this is another comment -->
This is some content following the second comment.<br />
<br />
This is some content with hashes in it ### this is content after the hashes<br />
</div>
</body>
</html>