New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for validator rule for RTC config in head #9800
Comments
If it's OK with you, we'll leave validation of the json contents up to the javascript library, rather than making it a requirement for the document to be valid AMP, thus we'll validate:
|
Why does it need an id? |
@bradfrizzell , I don't know the RTC reason. For validation, it helps distinguish this from other script tags, for producing good errors. For example, if the user left off |
The ID, from our end, was so we can grab it with getElementById. Is there something else I should do instead? Is there an issue with requiring an ID? |
This is the exact same thing we do for |
The changes are committed in #9831, The Note that this won't be released for another 2 weeks or so. |
Thanks! |
This change has been released to the validator and will be live within an hour. |
As part of adding support for RTC, publishers will be asked to include a config in their head, formatted like the following example. We need validator support added for this.
The text was updated successfully, but these errors were encountered: