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

These are self-explainitory

This commit is contained in:
Aidan Woods 2019-02-10 22:52:02 +00:00
parent b90efc69ec
commit 147a87a4f3
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9

View File

@ -217,14 +217,10 @@ final class Parsedown
continue; continue;
} }
# the text that comes before the inline
# compile the unmarked text
$Inlines[] = Plaintext::build($Excerpt->choppingUpToOffset($startPosition)); $Inlines[] = Plaintext::build($Excerpt->choppingUpToOffset($startPosition));
# compile the inline
$Inlines[] = $Inline; $Inlines[] = $Inline;
# remove the examined text
/** @psalm-suppress LoopInvalidation */ /** @psalm-suppress LoopInvalidation */
$Excerpt = $Excerpt->choppingFromOffset($endPosition); $Excerpt = $Excerpt->choppingFromOffset($endPosition);