ORIGINAL HTML --------------- Line 1: Line 6: Line 7: Line 8: Line 9: Line 10: Line 11: Line 12: Line 13: Line 14: Line 15: Line 16: Line 37: Line 38: Line 39: AMP-HTML Validation Issues and Fixes ------------------------------------- FAIL
on line 21 - The attribute 'class' in tag 'div' is set to '{{>something}}}', which contains a Mustache template partial. [code: TEMPLATE_PARTIAL_IN_ATTR_VALUE category: AMP_HTML_TEMPLATE_PROBLEM see: https://www.ampproject.org/docs/reference/extended/amp-mustache.html] ACTION TAKEN: div.class attribute was removed due to validation issues. - The attribute 'id' in tag 'div' is set to '{{{foo}}}', which contains unescaped Mustache template syntax. [code: UNESCAPED_TEMPLATE_IN_ATTR_VALUE category: AMP_HTML_TEMPLATE_PROBLEM see: https://www.ampproject.org/docs/reference/extended/amp-mustache.html] ACTION TAKEN: div.id attribute was removed due to validation issues.
on line 23 - The attribute 'class' in tag 'div' is set to '{{{bar}}}', which contains unescaped Mustache template syntax. [code: UNESCAPED_TEMPLATE_IN_ATTR_VALUE category: AMP_HTML_TEMPLATE_PROBLEM see: https://www.ampproject.org/docs/reference/extended/amp-mustache.html] ACTION TAKEN: div.class attribute was removed due to validation issues.
on line 28 - The attribute 'data-anything' in tag 'div' is set to '{{{bar}}}', which contains unescaped Mustache template syntax. [code: UNESCAPED_TEMPLATE_IN_ATTR_VALUE category: AMP_HTML_TEMPLATE_PROBLEM see: https://www.ampproject.org/docs/reference/extended/amp-mustache.html] ACTION TAKEN: div.data-anything attribute was removed due to validation issues.
on line 33 - The attribute 'data-foo' in tag 'div' is set to '{{ >hat}}', which contains a Mustache template partial. [code: TEMPLATE_PARTIAL_IN_ATTR_VALUE category: AMP_HTML_TEMPLATE_PROBLEM see: https://www.ampproject.org/docs/reference/extended/amp-mustache.html] ACTION TAKEN: div.data-foo attribute was removed due to validation issues. GLOBAL WARNING - Mustache template syntax in attribute name 'data-{{cat}}' in tag 'at location line 19, col 19'. [code: TEMPLATE_IN_ATTR_NAME category: AMP_HTML_TEMPLATE_PROBLEM see: https://www.ampproject.org/docs/reference/extended/amp-mustache.html] - The tag 'amp-mustache extension .js script' is missing or incorrect, but required by 'template'. [code: TAG_REQUIRED_BY_MISSING category: AMP_TAG_PROBLEM see: https://www.ampproject.org/docs/reference/extended/amp-mustache.html] ACTION TAKEN: template custom component script tag added to head COMPONENT NAMES WITH JS PATH ------------------------------ 'template', include path 'https://cdn.ampproject.org/v0/amp-mustache-0.1.js'