Search code examples
amp-html

Why is mandatory text (CDATA) inside tag 'head > style[amp-boilerplate]' still missing or incorrect?


though i spent several hours in fixing the last AMP validation error i need further assistance in solving the following error:

The mandatory text (CDATA) inside tag 'head > style[amp-boilerplate]' is missing or incorrect.

as seen on https://con-creat.de/detail-amp/schreiben-kann-jeder.html#development=1

i really do not understand why this error is thrown. Snippet as seen on https://github.com/ampproject/amphtml/blob/master/spec/amp-boilerplate.md is included and seems properly formatted.

I hope anyone can help me.


Solution

  • I am looking at your page and there appears to be a missing whitespace character in the AMP boilerplate code. I would try removing it completely and copying and pasting it into your page again.