【问题标题】:Marketo ESP overwriting or "autocorrecting" <![if !mso]> to <!-- [if !mso] -->Marketo ESP 覆盖或“自动更正”<![if !mso]> 到 <!-- [if !mso] -->
【发布时间】:2013-11-08 21:25:09
【问题描述】:

我不知道这里是否有人使用 Marketo 作为 ESP,我什至不确定这里是否适合提出此类问题。

我正在尝试在我的 HTML 电子邮件中定位 Outlook。无论我如何将代码输入 marketo(模板、替换 HTML、所见即所得 HTML 编辑器),代码总是会自动更正。

它将&lt;![if !mso]&gt; 更改为&lt;!-- [if !mso] --&gt;

我想你可以在这里看到问题。 Marketo 看到 &lt;! 并认为我正在尝试发表评论以便它自动更正,但自动更正实际上使我的代码不可见。

有人知道解决这个问题的方法吗?

【问题讨论】:

  • 不应该是&lt;!--[if !mso]&gt;&lt;!--&gt;吗? (related link)
  • 谢谢!那解决了它。我试图合并来自 emailbtn.net 的代码......我必须让他知道这一点。

标签: outlook html-email marketo


【解决方案1】:

这是解决我的 ESP 问题的修改后的代码(从 emailbtn.net 编辑):

&lt;div&gt;&lt;!--[if mso]&gt; &lt;v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://buttonlinkhere/" style="height:44px;v-text-anchor:middle;width:200px;" arcsize="50%" stroke="f" fill="t"&gt; &lt;v:fill type="tile" src="http://parata.com/email-images/rx/btn-big-44.png" color="#f06609" /&gt; &lt;w:anchorlock /&gt; &lt;center style="color:#ffffff;font-family:sans-serif;font-size:16px;font-weight:normal;" _mce_style="color: #ffffff; font-family: sans-serif; font-size: 16px; font-weight: normal;"&gt;Microsoft Outlook&lt;/center&gt; &lt;/v:roundrect&gt; &lt;![endif]--&gt;&lt;!--[if !mso]&gt;&lt;!--&gt;&lt;a style="background-color: #f06609; background-image: url(http://parata.com/email-images/rx/btn-big-44.png); border-radius: 22px; color: #ffffff; display: inline-block; font-family: sans-serif; font-size: 16px; font-weight: normal; line-height: 44px; text-align: center; text-decoration: none; width: 200px;" href="http://buttonlinkhere/"&gt;Not Microsoft Outlook&lt;/a&gt;&lt;!--&lt;![endif]--&gt;&lt;/div&gt;

【讨论】:

  • 我需要附加这个以添加此版本的代码使按钮在outlook.com上不可见,因此不是一个完整的解决方案,但比我以前的解决方案更好。
猜你喜欢
  • 1970-01-01
  • 2014-03-12
  • 2017-04-05
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-12-29
  • 1970-01-01
  • 2021-08-10
相关资源
最近更新 更多