Upgrade to 3.9.0
This commit is contained in:
@@ -110,7 +110,8 @@ class SmartyPants
|
||||
public function parse(string|null $text = null): string
|
||||
{
|
||||
// prepare the text
|
||||
$text = str_replace('"', '"', $text ?? '');
|
||||
$text ??= '';
|
||||
$text = str_replace('"', '"', $text);
|
||||
|
||||
// parse the text
|
||||
return $this->parser->transform($text);
|
||||
|
||||
Reference in New Issue
Block a user