我一直在搜索我在Google和Stackoverflow上的问题的答案。什么都没找到..
我尝试将以下json-dand microtata schemas作为电子邮件发送给我的gmail-account:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Person",
"name": "Max Mustermann",
"affiliation": "Musterfirma",
"telephone": "01234/56789",
"url": "http://example.com/"
}
</script>
<div itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Max Mustermann</span>
<span itemprop="affiliation">Musterfirma</span>
<span itemprop="telephone">01234/56789</span>
<a href="http://example.com/ itemprop="url">Website</a>
</div>
当我看收到的电子邮件时,总是这样:
<script type="application/ld+json">
{
"@context": <a class="moz-txt-link-rfc2396E" href="http://schema.org">"http://schema.org"</a>,
"@type": "Person",
"name": "Max Mustermann",
"affiliation": "Musterfirma",
"telephone": "01234/56789",
"url": <a class="moz-txt-link-rfc2396E" href="http://example.com/">"http://example.com/"</a>
}
</script>
<div itemscope="" itemtype="http://schema.org/Person"> <span
itemprop="name">Max Mustermann</span> <span
itemprop="affiliation">Musterfirma</span> <span
itemprop="telephone">01234/56789</span> <a
href="http://example.com/%20itemprop=" url"="">Website</a>
</div>
我通过Thunderbird中的插入/HTML函数将HTML添加到新的电子邮件中。我该如何改变雷鸟的这种行为。还是您可以向我推荐另一个程序来发送HTML电子邮件?我需要发送并收到未改变的邮件。提前致谢!!:D
在第一种情况下(JSON-LD):Thunderbird似乎自动检测URL并超链接。那是一个错误。
在第二种情况(microdata)中:the鸟百分比编码href
属性中的URL。为什么?可能是因为您缺少引号:而不是
<a href="http://example.com/ itemprop="url">Website</a>
应该是
<a href="http://example.com/" itemprop="url">Website</a>