Fix the email editor so that it doesn't rewrite/strip code from our responsive email templates

Fix the email editor so that it doesn't rewrite/strip code from our responsive email templates

Per the discussion thread that I started here, Marketo Support confirmed back to me that the email editor does not retain specific code in the <head> of the template; and strips out specific conditional code (media queries) that are essential especially for responsive emails.  Please fix this so that our code is not being rewritten or stripped from our email templates.

I know there already is an idea (since 2013) that is specific to stripping out conditional code within the HTML.  This idea covers more than just the conditional code.  So please don't merge this with that idea.

Our template:
<!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"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office">
<head>

Marketo rewrite:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

Our template:
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--[if gte mso 9]><xml>
  <o:OfficeDocumentSettings>
    <o:AllowPNG/>
    <o:PixelsPerInch>96</o:PixelsPerInch>
  </o:OfficeDocumentSettings>
</xml><![endif]-->

Marketo rewrite: completely stripped out.  Basically, Marketo is stripping out any conditional code that starts with "<!--[if gte mso 9]>"

14 Comments
Justin_Cooperm2
Level 10

In addition to the items tracked by this idea, the text editor should also really not be stripping any code you have. Please let me know if you find something that is being stripped incorrectly.

Follow this thread here for more updates on text editor enhancements: New Text Editor is ****

Anonymous
Not applicable

Hi Justin,

I haven't had any code stripped, yet we have an ampersand that is being changed to a question mark which strips the field of a critical update. Do you have any idea what this could be?

Thanks

Justin_Cooperm2
Level 10

Let's take a look. Email me the link to the email asset and also some repro instructions. I'll take a look.

jcooperman@marketo.com

kh-lschutte
Community Manager
Status changed to: In Production