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:
parent
d9792bb12c
commit
660c2e43a3
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user