Skip to content

Commit 29cebde

Browse files
committed
Update AMP validator spec to 2008290323001 and improve i-amphtml-* sanitization (#5356)
1 parent 7d7a3bd commit 29cebde

8 files changed

+607
-29
lines changed

bin/amphtml-update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def ParseRules(out_dir):
416416
for val in list.tag:
417417

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

422422
descendant_lists[list.name].append( val.lower() )

0 commit comments

Comments
 (0)