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:
parent
4be1f6ae90
commit
1916dc5645
1 changed files with 1 additions and 1 deletions
|
@ -1673,7 +1673,7 @@ class Pico
|
||||||
public function parseFileContent($markdown, $singleLine = false)
|
public function parseFileContent($markdown, $singleLine = false)
|
||||||
{
|
{
|
||||||
$markdownParser = $this->getParsedown();
|
$markdownParser = $this->getParsedown();
|
||||||
return !$singleLine ? $markdownParser->text($markdown) : $markdownParser->line($markdown);
|
return !$singleLine ? @$markdownParser->text($markdown) : @$markdownParser->line($markdown);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue