From e0b496a7aee23806a653afc58da80bbd625f4eb2 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 7 Jul 2024 02:56:24 +0300 Subject: [PATCH] fix multiline code expression --- src/Parser/Code.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Parser/Code.php b/src/Parser/Code.php index bd93101..abc83eb 100755 --- a/src/Parser/Code.php +++ b/src/Parser/Code.php @@ -26,7 +26,7 @@ class Code implements \Yggverse\Gemtext\Interface\Parser // Multiline with optional alt support case preg_match( - '/^(?[`]{3})(?[^`]+)$/m', + '/^(?[`]{3})(?[^`]*)$/m', $line, $matches ):