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

Cleanup logical operators

This commit is contained in:
Aidan Woods
2019-01-26 14:51:05 +00:00
parent 19e21f2d1b
commit d733c262c2
19 changed files with 35 additions and 34 deletions

View File

@@ -68,7 +68,7 @@ final class BlockQuote implements ContinuableBlock
return null;
}
if ($Context->line()->text()[0] === '>' and \preg_match('/^(>[ \t]?+)(.*+)/', $Context->line()->text(), $matches)) {
if ($Context->line()->text()[0] === '>' && \preg_match('/^(>[ \t]?+)(.*+)/', $Context->line()->text(), $matches)) {
$indentOffset = $Context->line()->indentOffset() + $Context->line()->indent() + \strlen($matches[1]);
$recoveredSpaces = 0;