Skip to content
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

Update AMP validator spec to 2008290323001 and improve i-amphtml-* sanitization #5356

Merged
merged 8 commits into from
Sep 12, 2020
2 changes: 1 addition & 1 deletion bin/amphtml-update.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def ParseRules(out_dir):
for val in list.tag:

# Skip tags specific to transformed AMP.
if val in ( 'I-AMPHTML-SIZER', ):
if val in ( 'I-AMPHTML-SIZER', 'IMG', ):
continue

descendant_lists[list.name].append( val.lower() )
Expand Down
Loading