1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Paragraph would end itself and new one must start for header row to

exist
This commit is contained in:
Aidan Woods 2019-02-03 00:54:44 +00:00
parent d9792bb12c
commit 660c2e43a3
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9

View File

@ -52,7 +52,7 @@ final class Table implements ContinuableBlock
Block $Block = null, Block $Block = null,
State $State = null State $State = null
) { ) {
if (! isset($Block) || ! $Block instanceof Paragraph || $Context->previousEmptyLines() > 0) { if (! isset($Block) || ! $Block instanceof Paragraph) {
return null; return null;
} }