Skip to content

Commit

Permalink
Merge pull request ampproject#7719 from ampproject/bump/node
Browse files Browse the repository at this point in the history
Bump Nodejs; Fix PHPStan and PHPUnit failures
  • Loading branch information
westonruter authored Mar 14, 2024
2 parents 2efb5c8 + 1a909d3 commit ecb3124
Show file tree
Hide file tree
Showing 12 changed files with 2,171 additions and 2,080 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20

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

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

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

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

2 changes: 2 additions & 0 deletions includes/embeds/class-amp-tiktok-embed-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ protected function make_embed_amp_compatible( Element $blockquote ) {

$blockquote->parentNode->replaceChild( $amp_tiktok, $blockquote );
$amp_tiktok->appendChild( $blockquote );

/** @var DOMDocument $dom */
$blockquote->setAttributeNode( $dom->createAttribute( Attribute::PLACEHOLDER ) );
$blockquote->removeAttribute( Attribute::STYLE );
}
Expand Down
Loading

0 comments on commit ecb3124

Please sign in to comment.