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:
parent
b90efc69ec
commit
147a87a4f3
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user