mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Simplify expression
This commit is contained in:
parent
93650fb9b5
commit
2efae741bb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user