mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit 2a741e6b5e433c808c108b9c92796813ab8d5114
parent 6e57e1257f0f3add38f188e34f441df0fbfcc700
Author: markseu <mark2011@mayberg.se>
Date:   Sun,  8 May 2022 12:08:24 +0200

Updated extensions for PHP 8.1 compatibility

Diffstat:
Msystem/extensions/markdown.php | 4++--
Msystem/extensions/update-current.ini | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/system/extensions/markdown.php b/system/extensions/markdown.php @@ -2,7 +2,7 @@ // Markdown extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/markdown class YellowMarkdown { - const VERSION = "0.8.20"; + const VERSION = "0.8.21"; public $yellow; // access to API // Handle initialisation @@ -3854,7 +3854,7 @@ class YellowMarkdownParser extends MarkdownExtraParser { // Handle striketrough public function doStrikethrough($text) { - $parts = preg_split("/(?<![~])(~~)(?![~])/", $text, null, PREG_SPLIT_DELIM_CAPTURE); + $parts = preg_split("/(?<![~])(~~)(?![~])/", $text, -1, PREG_SPLIT_DELIM_CAPTURE); if (count($parts)>3) { $text = ""; $open = false; diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini @@ -86,11 +86,11 @@ media/downloads/yellow.pdf: yellow.pdf, create ./robots.txt: robots.txt, create Extension: Markdown -Version: 0.8.20 +Version: 0.8.21 Description: Text formatting for humans. DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/markdown DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/markdown.zip -Published: 2022-05-08 10:09:30 +Published: 2022-05-08 11:54:07 Developer: Datenstrom Tag: feature system/extensions/markdown.php: markdown.php, create, update