From 660c2e43a31ca8ad409d4947284043a91104107e Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Sun, 3 Feb 2019 00:54:44 +0000 Subject: [PATCH] Paragraph would end itself and new one must start for header row to exist --- src/Components/Blocks/Table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Blocks/Table.php b/src/Components/Blocks/Table.php index 76c9b1a..eb43d4d 100644 --- a/src/Components/Blocks/Table.php +++ b/src/Components/Blocks/Table.php @@ -52,7 +52,7 @@ final class Table implements ContinuableBlock Block $Block = null, State $State = null ) { - if (! isset($Block) || ! $Block instanceof Paragraph || $Context->previousEmptyLines() > 0) { + if (! isset($Block) || ! $Block instanceof Paragraph) { return null; }