Updated extensions for PHP 8.1 compatibility
This commit is contained in:
parent
6e57e1257f
commit
2a741e6b5e
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue