【发布时间】:2017-02-15 22:00:22
【问题描述】:
为什么我会收到此错误消息?我使用 wordpress 并使用 Automattic AMP 插件。
标签“head > style[amp-boilerplate]”中的强制文本 (CDATA) 缺失或不正确。 MANDATORY_AMP_TAG_MISSING_OR_INCORRECT 第 1 行,第 473 列
标签“noscript > style[amp-boilerplate]”中的强制文本 (CDATA) 缺失或不正确。 MANDATORY_AMP_TAG_MISSING_OR_INCORRECT 第 10 行,第 19 列
<!doctype html><html amp lang="tr-TR"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"><title>Example</title><link rel="canonical" href="http://www.example.com/okul-kombinleri/" /> <script src="https://cdn.ampproject.org/v0.js" async></script> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Merriweather:400,400italic,700,700italic"><style amp-boilerplate>body {
-webkit-animation:0 8s steps(1,end) 0 1 normal both;
-moz-animation:0 8s steps(1,end) 0 1 normal both;
-ms-animation:0 8s steps(1,end) 0 1 normal both;
animation:0 8s steps(1,end) 0 1 normal both;
}
to {
visibility:visible;
}</style><noscript><style amp-boilerplate>body {
-webkit-animation:none;
-moz-animation:none;
-ms-animation:none;
animation:none;
}</style></noscript>
【问题讨论】: