Skip to content

Commit

Permalink
Merge pull request #173 from winkelco/patch-2
Browse files Browse the repository at this point in the history
Fix embed
  • Loading branch information
mauricewijnia authored Oct 25, 2022
2 parents 5b95e11 + 4b2a1fb commit 3efbadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Blocks/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function render(): string
$output = call_user_func($blockType->renderCallback, $this->attributes, $output, $this);
}

if ($this->blockName === 'core/embed') {
if (strpos($this->blockName, 'embed') !== false) {
$output = $this->embed($output);
}

Expand Down

0 comments on commit 3efbadd

Please sign in to comment.