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