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

Fix strange formatting

This commit is contained in:
Aidan Woods 2019-01-26 20:54:37 +00:00
parent 48c0c34470
commit aab56cf8cc
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9

View File

@ -47,12 +47,10 @@ final class BlockQuote implements ContinuableBlock
$recoveredSpaces = Line::tabShortage(2, $Context->line()->indentOffset() + $Context->line()->indent()); $recoveredSpaces = Line::tabShortage(2, $Context->line()->indentOffset() + $Context->line()->indent());
} }
return new self( return new self(Lines::fromTextLines(
Lines::fromTextLines(
\str_repeat(' ', $recoveredSpaces) . $matches[2], \str_repeat(' ', $recoveredSpaces) . $matches[2],
$indentOffset $indentOffset
) ));
);
} }
return null; return null;