diff --git a/src/Components/Blocks/Table.php b/src/Components/Blocks/Table.php index eb43d4d..25ab542 100644 --- a/src/Components/Blocks/Table.php +++ b/src/Components/Blocks/Table.php @@ -103,8 +103,7 @@ final class Table implements ContinuableBlock if ( \count($this->alignments) !== 1 - && \substr($Context->line()->text(), 0, 1) !== '|' - && !\strpos($Context->line()->text(), '|') + && \strpos($Context->line()->text(), '|') === false ) { return null; }