From 1916dc5645bf71d7a6f68f4e46f478b0581370d6 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Sat, 29 Aug 2020 16:07:10 +0200 Subject: [PATCH] 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... --- lib/Pico.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Pico.php b/lib/Pico.php index f6384f9..26dfb59 100644 --- a/lib/Pico.php +++ b/lib/Pico.php @@ -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); } /**