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:
@@ -80,7 +80,7 @@ final class Emphasis implements Inline
|
||||
return new Element(
|
||||
$this->type,
|
||||
[],
|
||||
$State->applyTo((new Parsedown($State))->line($this->text))
|
||||
$State->applyTo(Parsedown::line($this->text, $State))
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user