Skip to content

Commit

Permalink
Updates to amp-reddit validation rules (#5704)
Browse files Browse the repository at this point in the history
  • Loading branch information
honeybadgerdontcare committed Oct 20, 2016
1 parent b7d5e2d commit 25fc04e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions extensions/amp-reddit/0.1/validator-amp-reddit.protoascii
Expand Up @@ -55,6 +55,14 @@ tags: { # <amp-reddit>
tag_name: "AMP-REDDIT"
disallowed_ancestor: "AMP-SIDEBAR"
also_requires_tag: "amp-reddit extension .js script"
attrs: {
name: "data-embedlive"
value_regex_casei: "(false|true)"
}
attrs: {
name: "data-embedparent"
value_regex_casei: "(false|true)"
}
attrs: {
name: "data-embedtype"
mandatory: true
Expand Down

0 comments on commit 25fc04e

Please sign in to comment.