Skip to content

Commit

Permalink
Preemptively add intrinsic layout support for amp-story-player (#5659)
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter authored Dec 7, 2020
1 parent bdd0b64 commit 778838d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions includes/sanitizers/class-amp-allowed-tags-generated.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/php/test-tag-and-attribute-sanitizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ static function () {

'amp_story_player' => [
'
<amp-story-player width="360" height="600">
<amp-story-player width="360" height="600" layout="intrinsic">
<a href="https://www.example.com" class="story">
<span class="title">A local’s guide to what to eat and do in New York City</span>
</a>
Expand Down

0 comments on commit 778838d

Please sign in to comment.