diff --git a/src/Parsedown.php b/src/Parsedown.php index eaa20b5..6a62f06 100644 --- a/src/Parsedown.php +++ b/src/Parsedown.php @@ -217,14 +217,10 @@ final class Parsedown continue; } - # the text that comes before the inline - # compile the unmarked text $Inlines[] = Plaintext::build($Excerpt->choppingUpToOffset($startPosition)); - # compile the inline $Inlines[] = $Inline; - # remove the examined text /** @psalm-suppress LoopInvalidation */ $Excerpt = $Excerpt->choppingFromOffset($endPosition);