Skip to content

Commit

Permalink
Merge pull request #5356 from ampproject/update/amphtml-2008290323001
Browse files Browse the repository at this point in the history
Update AMP validator spec to 2008290323001 and improve i-amphtml-* sanitization
  • Loading branch information
westonruter authored Sep 12, 2020
2 parents aa40dda + 3d0d68a commit 244a1a4
Show file tree
Hide file tree
Showing 8 changed files with 607 additions and 29 deletions.
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

0 comments on commit 244a1a4

Please sign in to comment.