-
Notifications
You must be signed in to change notification settings - Fork 384
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
Refactor validator specification integration #4566
Comments
In regards to step 1, it's not so bad now because we actually grab the tarball of the source code for the latest release rather than doing a full clone. Still, this involves downloading much more than we need. It would better to just download the protoascii files alone, or rather to use the JSON representation as described in #2769. |
@schlessera as part of your work, please make sure that there's a way to look up a spec by For example, looking up a spec by name of amp-wp/includes/sanitizers/class-amp-allowed-tags-generated.php Lines 4535 to 4577 in 5ee474c
I'm going to close #3817 in favor of your work. |
Some of the validation we are doing in our sanitizers is based on the official validator specification found in https://github.com/ampproject/amphtml.
Current Process
Problems with this process that need solving
The text was updated successfully, but these errors were encountered: