mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Return state after block parse instead of mutating the instance copy
This commit is contained in:
@@ -70,7 +70,7 @@ final class Paragraph implements ContinuableBlock
|
||||
return new Element(
|
||||
'p',
|
||||
[],
|
||||
$State->applyTo((new Parsedown($State))->line($this->text))
|
||||
$State->applyTo(Parsedown::line($this->text, $State))
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user