From eb64a1a3f6d9de96b5588032ecae3ba15f6c6b34 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 9 Nov 2024 16:57:23 +0100 Subject: [PATCH] Debug v21 --- htdocs/includes/parsedown/Parsedown.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/includes/parsedown/Parsedown.php b/htdocs/includes/parsedown/Parsedown.php index 3b30c02af48..2a00db26087 100644 --- a/htdocs/includes/parsedown/Parsedown.php +++ b/htdocs/includes/parsedown/Parsedown.php @@ -571,7 +571,7 @@ class Parsedown # # List - protected function blockList($Line, ?array $CurrentBlock = null) + protected function blockList($Line, $CurrentBlock = null) { list($name, $pattern) = $Line['text'][0] <= '-' ? array('ul', '[*+-]') : array('ol', '[0-9]{1,9}+[.\)]'); @@ -808,7 +808,7 @@ class Parsedown # # Setext - protected function blockSetextHeader($Line, ?array $Block = null) + protected function blockSetextHeader($Line, $Block = null) { if ( ! isset($Block) or $Block['type'] !== 'Paragraph' or isset($Block['interrupted'])) {