为什么 Outlook 会破坏我的微数据?

Why is Outlook breaking my Microdata?

因此,对于我们的电子邮件通讯,我们已经开始使用微数据(使用 schema.org 词汇表)标记结构化数据。

下面是设计中的一行代码示例:

<span itemscope itemtype="https://schema.org/Restaurant">

但是,在使用 Exchange 2012 的 Outlook 2013 中,代码显示为:

<span itemscopeitemtype="https://schema.org/Restaurant">

请注意 space 已在 itemscope 之后被删除 - 这基本上破坏了代码并且忽略了所有数据标记。关于原因有什么想法吗?

我知道 Outlook 不是我们获取这些数据的主要市场,但令人恼火的是它正在崩溃,我很想知道为什么。

Outlook 使用 Word 呈现 HTML 邮件正文标记。所有受支持和不受支持的 HTML 元素、属性和级联样式表属性均在 MSDN 中的以下文章中进行了描述:

Word 2007 HTML and CSS Rendering Capabilities in Outlook 2007 (Part 1 of 2)

Word 2007 HTML and CSS Rendering Capabilities in Outlook 2007 (Part 2 of 2)

这是一个非常古老的问题,但看起来已在 Exchange 2013 中得到修复。itemscope 属性到达时的值设置为空字符串(即 according to spec): itemscope="".

在早期版本的 Exchange 中,我建议明确设置该值。