You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There are existing AMP validation errors that need to be fixed before #442 can be completed.
To Reproduce
Steps to reproduce the behavior:
npm run build
npm run start
in a separate terminal window, do npx amphtml-validator http://localhost:7080/news/articles/c9rpqy7pmypo.amp || true
See error
Errors
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:1:3610 The mandatory attribute 'amp-custom' is missing in tag 'style amp-custom'. (see https://www.ampproject.org/docs/guides/author-develop/responsive/style_pages)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:53:2530 The tag 'head > style[amp-boilerplate] - old variant' appears more than once in the document. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-boilerplate.md)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:290 The attribute 'focusable' may not appear in tag 'svg'. (see https://www.ampproject.org/docs/reference/spec#svg)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:3048 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://www.ampproject.org/docs/reference/components/amp-img)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:4477 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://www.ampproject.org/docs/reference/components/amp-img)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:5993 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://www.ampproject.org/docs/reference/components/amp-img)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:7584 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://www.ampproject.org/docs/reference/components/amp-img)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:8736 The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'? (see https://www.ampproject.org/docs/reference/components/amp-img)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:10363 The attribute 'focusable' may not appear in tag 'svg'. (see https://www.ampproject.org/docs/reference/spec#svg)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:14676 Custom JavaScript is not allowed. (see https://www.ampproject.org/docs/reference/spec#html-tags)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:30418 Custom JavaScript is not allowed. (see https://www.ampproject.org/docs/reference/spec#html-tags)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:30542 Custom JavaScript is not allowed. (see https://www.ampproject.org/docs/reference/spec#html-tags)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:30666 Custom JavaScript is not allowed. (see https://www.ampproject.org/docs/reference/spec#html-tags)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:30790 Custom JavaScript is not allowed. (see https://www.ampproject.org/docs/reference/spec#html-tags)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:30921 The mandatory tag 'amphtml engine v0.js script' is missing or incorrect. (see https://www.ampproject.org/docs/reference/spec#required-markup)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:30921 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-boilerplate.md)
http://localhost:7080/news/articles/c9rpqy7pmypo.amp:55:30921 The mandatory tag 'noscript > style[amp-boilerplate]' is missing or incorrect. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-boilerplate.md)
Expected behavior
No errors
The text was updated successfully, but these errors were encountered:
Describe the bug
There are existing AMP validation errors that need to be fixed before #442 can be completed.
To Reproduce
Steps to reproduce the behavior:
npm run build
npm run start
npx amphtml-validator http://localhost:7080/news/articles/c9rpqy7pmypo.amp || true
Errors
Expected behavior
No errors
The text was updated successfully, but these errors were encountered: