【发布时间】:2016-08-16 13:59:09
【问题描述】:
我正在尝试使用 this tutorial 和所有示例代码创建一个 AMP 页面。但是,当我去验证我的页面时,我看到了这两个错误:
我为此所做的每一次搜索都告诉我需要使用本教程中已经提供的确切字符串:https://github.com/ampproject/amphtml/blob/master/spec/amp-boilerplate.md
我的示例代码在这里:http://pastebin.com/VZ1UEs1q
我做错了什么?我唯一能想到的是,我的 Visual Studio 正在自动扩展和格式化 <style> 和 <noscript> 标记的 1-liner。
【问题讨论】: