Hi, I have big problem! I cant fixed this error can you help me please.
This is console log error:
The mandatory text (CDATA) inside tag 'boilerplate (js enabled) - old variant' is missing or incorrect se..
And olso you can test and control here is news site:
http://www.habersert.com/amp/magazin/ivana-sert-e-nur-yerlitas-in-aldigi-maas-sorulunca--155
Thank you
@AltanAdacay - thanks for reaching out - I think it is the validator that failed- you can fix this by using our new boilerplate code in the head.
Follow the example - here
https://github.com/ampproject/amphtml/blob/master/docs/create_page.md
You will need to delete this code in your head
<style>body {opacity: 0}</style><noscript><style>body {opacity: 1}</style></noscript>
and replace it with the one here:
https://github.com/ampproject/amphtml/blob/master/spec/amp-boilerplate.md
I shall work with the validation team to provide a better validation error
But, the old code should still validate, no?
Yes on existing pages - (Not on new pages i guess)
@powdercloud can confirm.
This looks like a validator parsing bug. @powdercloud and I are looking into it. It has to do somehow with the multibyte characters in the body, but what's going on is still a puzzle.
@AltanAdacay For you: Don't worry about it. Our server side validator validates your page and the JS validator you are using will soon as well. Thanks for posting the bug!
Thanks all, I can not fixed from since morning 09.30
I'm was delete this code :
and I'm append to under amp-custom styles: https://github.com/ampproject/amphtml/blob/master/spec/amp-boilerplate.md
not fixed this error... thank you again.
AltanAdacay Merhaba, bu problem bizim kodumuzdaki bir bug'dan dolayi kaynaklaniyor. Sizin sayfaniz da herhangi bir problem yok. Su an sorunu cozmek icin gerekli kodu hazirliyoruz. (translated by a friendly colleague)
Thanks for everything... Yes work now perfectly
I feel nobody posted the solution.
For me it was: avoid whitespace.
I was getting this message because there was <style>...</style>
block inside HTML. I replaced it with <style amp-custom>...</style>
and the problem disappeared.
Hi,
On my webpage http://m.avocatferval.com/index.htm I still have the error message
"The mandatory text (CDATA) inside tag 'head > style : boilerplate' is missing or incorrect"
while I respects https://github.com/ampproject/amphtml/blob/master/spec/amp-boilerplate.md
Could you help me finding what is wrong?
Thanks in advance
Jerome
@JeromeParis you need to split your CSS into separate style tags. You have placed custom style inside the boilerplate style tag. Instead it needs to be in a <style amp-custom>
tag.
Hi,
Tanks a lot for your answer!
Best regards
J?r?me
Le 1 juin 2016 ? 18:59, Greg Grothaus <[email protected]notifications@github.com> a ?crit :
@JeromeParishttps://github.com/JeromeParis you need to split your CSS into separate style tags. You have placed custom style inside the boilerplate style tag. Instead it needs to be in a
Most helpful comment
I was getting this message because there was
<style>...</style>
block inside HTML. I replaced it with<style amp-custom>...</style>
and the problem disappeared.