mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Off by 1
This commit is contained in:
parent
b73fe2e9ec
commit
8ce88c1b36
@ -78,7 +78,7 @@ final class Text implements TransformableRenderable
|
||||
$lastEndPos = $endPos;
|
||||
}
|
||||
|
||||
if (\strlen($this->text) -1 !== $lastEndPos) {
|
||||
if (\strlen($this->text) !== $lastEndPos) {
|
||||
$Container = $Container->adding(
|
||||
new Text(\substr($this->text, $lastEndPos))
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user