Silence PHP notices in upstream Parsedown

Parsedown is a still unresolved issue in whole, this at least ensures that we don't fill up logfiles with useless errors...
This commit is contained in:
Daniel Rudolf 2020-08-29 16:07:10 +02:00
parent 4be1f6ae90
commit 1916dc5645
No known key found for this signature in database
GPG Key ID: A061F02CD8DE4538
1 changed files with 1 additions and 1 deletions

View File

@ -1673,7 +1673,7 @@ class Pico
public function parseFileContent($markdown, $singleLine = false)
{
$markdownParser = $this->getParsedown();
return !$singleLine ? $markdownParser->text($markdown) : $markdownParser->line($markdown);
return !$singleLine ? @$markdownParser->text($markdown) : @$markdownParser->line($markdown);
}
/**