Upgrade to 3.6.2
This commit is contained in:
@@ -37,8 +37,9 @@ class Markdown
|
||||
public function defaults(): array
|
||||
{
|
||||
return [
|
||||
'breaks' => true,
|
||||
'extra' => false,
|
||||
'breaks' => true
|
||||
'safe' => false
|
||||
];
|
||||
}
|
||||
|
||||
@@ -69,6 +70,7 @@ class Markdown
|
||||
}
|
||||
|
||||
$parser->setBreaksEnabled($this->options['breaks']);
|
||||
$parser->setSafeMode($this->options['safe']);
|
||||
|
||||
if ($inline === true) {
|
||||
return @$parser->line($text);
|
||||
|
||||
Reference in New Issue
Block a user