Open Graph 命名空间声明和加速移动页面 (AMP) 验证

Open Graph namespace declaration and Accelerated Mobile Page (AMP) Validation

我正在将我的网站更新为 AMP,但当我尝试 validate 时,我收到以下错误:

The attribute 'prefix' may not appear in tag 'head'

OG 命名空间声明使用了前缀,我该如何解决这个问题?

Facebook 分享不需要前缀属性。因此,一个简单的解决方法是简单地省略 prefix 属性。 ampbyexample.com 就是这样做的,而且它仍然有效:

https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fampbyexample.com

不过,AMP 验证器应该支持前缀属性。我已经提交了一个问题 here