Skip to content

Commit 3efbadd

Browse files
Merge pull request #173 from winkelco/patch-2
Fix embed
2 parents 5b95e11 + 4b2a1fb commit 3efbadd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Blocks/Block.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function render(): string
6666
$output = call_user_func($blockType->renderCallback, $this->attributes, $output, $this);
6767
}
6868

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

0 commit comments

Comments
 (0)